default server
This commit is contained in:
parent
4df89d39b1
commit
7c06684656
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue