diff --git a/install.sh b/install.sh index 21a0284..0212628 100755 --- a/install.sh +++ b/install.sh @@ -162,7 +162,7 @@ fi ### Setup Nginx log_running "Setting up Nginx..." -sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/default +sudo cp templates/nginx.cfg /etc/nginx/sites-enabled/wx ( sudo mkdir -p /var/www/wx sudo chown -R www-data:www-data /var/www/wx diff --git a/templates/nginx.cfg b/templates/nginx.cfg index 216e375..aacb918 100644 --- a/templates/nginx.cfg +++ b/templates/nginx.cfg @@ -4,7 +4,7 @@ server { index index.html index.htm index.nginx-debian.html; autoindex on; - server_name wx.home wx.reyni.co; + server_name wx.home; location / { try_files $uri $uri/ =404;