1
Fork 0

Update nginx install script

This commit is contained in:
Edgar P. Burkhart 2023-05-16 16:25:11 +02:00
parent 9e0bfc242b
commit 77212772f3
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
1 changed files with 3 additions and 8 deletions

View File

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