Linux SSL

If you would like to deploy and use ngSurvey on a Linux with a domain running under SSL you may use following script that will deploy ngSurvey using an ngInx SSL enabled reverse proxy :

Ubuntu

you may use following shell script from your Ubuntu shell.

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

This will generate a certificate for your domain and automatically configure ngSurvey under an secured HTTPS channel.

Make sure that your domain is properly registered in your DNS with your host IP.

Custom database

By default the script above will use a mysql database. If you would like to use your own database you may modify the downloaded /srv/docker/ngsurveyee.ssl.mysql.yml file from the script above and use your own connectionstring to your database and then restart your ngsurvey setup using following command.

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

Last updated

(c) 2024 Data Illusion Zumbrunn. All rights reserved. Reproduction strictly forbidden.