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