Browse Source

do not overwrite default sites enabled

tags/v1.1
Nico Rey 4 years ago
parent
commit
e2248aeafa
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      install.sh
  2. +1
    -1
      templates/nginx.cfg

+ 1
- 1
install.sh View File

@@ -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


+ 1
- 1
templates/nginx.cfg View File

@@ -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;


Loading…
Cancel
Save