Update nginx install script
This commit is contained in:
parent
9e0bfc242b
commit
77212772f3
1 changed files with 3 additions and 8 deletions
|
@ -1,9 +1,4 @@
|
|||
#!/usr/bin/env fish
|
||||
sudo mkdir -p /etc/nginx
|
||||
sudo install -m a=r,u=rw nginx.conf /etc/nginx/
|
||||
|
||||
sudo mkdir -p /etc/nginx/conf
|
||||
sudo install -m a=r,u=rw conf/* /etc/nginx/conf/
|
||||
|
||||
sudo mkdir -p /etc/nginx/sites-enabled
|
||||
sudo install -m a=r,u=rw sites/* /etc/nginx/sites-enabled/
|
||||
sudo install -m a=r,u=rw -D nginx.conf /etc/nginx/
|
||||
sudo install -m a=r,u=rw -D conf/* /etc/nginx/conf/
|
||||
sudo install -m a=r,u=rw -D sites/* /etc/nginx/sites-enabled/
|
||||
|
|
Loading…
Reference in a new issue