# Linux SSL

Wenn Sie ngSurvey auf einem Linux-System mit einer Domain unter SSL bereitstellen und nutzen möchten, können Sie das folgende Skript verwenden, das ngSurvey mit einem ngInx SSL-aktivierten Reverse-Proxy bereitstellt:

## Ubuntu

Sie können das folgende Shell-Skript von Ihrer Ubuntu-Shell aus verwenden.

```
curl -o ngs-ubuntu-ssl-docker.sh https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-ubuntu-ssl-docker.sh 
sudo chmod +x ./ngs-ubuntu-ssl-docker.sh 
sudo ./ngs-ubuntu-ssl-docker.sh YOURDOMAIN.COM
```

Dies erstellt ein Zertifikat für Ihre Domain und konfiguriert ngSurvey automatisch unter einem gesicherten HTTPS-Kanal.&#x20;

{% hint style="danger" %}
Stellen Sie sicher, dass Ihre Domain korrekt in Ihrem DNS mit der IP Ihres Hosts registriert ist.   &#x20;
{% endhint %}

## Eigene Datenbank

Standardmäßig verwendet das oben genannte Skript eine mysql-Datenbank. Wenn Sie Ihre eigene Datenbank verwenden möchten, können Sie die heruntergeladene Datei /srv/docker/ngsurveyee.ssl.mysql.yml aus dem Skript oben bearbeiten und Ihre eigene Connectionstring zu Ihrer Datenbank verwenden und dann Ihre ngSurvey-Installation mit folgendem Befehl neu starten.&#x20;

```
sudo docker-compose -f /srv/docker/ngsurveyee.ssl.mysql.yml up -d
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/de/installation-setup/installation/linux-ubuntu-centos/linux-ssl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
