From 7c06684656d8f27722dae3bb13b046a327aefb00 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 23 Nov 2017 19:20:50 +0000 Subject: [PATCH] default server --- src/freedombone-app-smilodon | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/freedombone-app-smilodon b/src/freedombone-app-smilodon index b892abb9..ed3cfff1 100755 --- a/src/freedombone-app-smilodon +++ b/src/freedombone-app-smilodon @@ -305,7 +305,7 @@ function install_smilodon { fi echo 'server {' > /etc/nginx/sites-available/smilodon - echo " listen 127.0.0.1:$SMILODON_ONION_PORT;" >> /etc/nginx/sites-available/smilodon + echo " listen 127.0.0.1:${SMILODON_ONION_PORT} default_server;" >> /etc/nginx/sites-available/smilodon echo " server_name $SMILODON_ONION_HOSTNAME;" >> /etc/nginx/sites-available/smilodon echo '' >> /etc/nginx/sites-available/smilodon echo ' access_log /dev/null;' >> /etc/nginx/sites-available/smilodon @@ -314,7 +314,6 @@ function install_smilodon { echo ' location / {' >> /etc/nginx/sites-available/smilodon echo ' proxy_pass http://localhost:5000;' >> /etc/nginx/sites-available/smilodon echo ' }' >> /etc/nginx/sites-available/smilodon - echo '' >> /etc/nginx/sites-available/smilodon echo '}' >> /etc/nginx/sites-available/smilodon nginx_ensite smilodon