Compare commits
1 Commits
411489db39
...
09a225adf8
Author | SHA1 | Date | |
---|---|---|---|
|
09a225adf8 |
@ -1,10 +1,6 @@
|
||||
% nginx
|
||||
|
||||
# Enable site
|
||||
ln -s /etc/nginx/sites-available/<ls_site> /etc/nginx/sites-enabled/<ls_site>
|
||||
ln -s /etc/nginx/sites-available/<site> /etc/nginx/sites-enabled/<site>
|
||||
|
||||
# Disable site
|
||||
rm /etc/nginx/sites-enabled/<rm_site>
|
||||
|
||||
$ ls_site: ls /etc/nginx/sites-available/ | awk '{print $1}'
|
||||
$ rm_site: ls /etc/nginx/sites-available/ | awk '{print $1}'
|
||||
$ site: ls /etc/nginx/sites-available/ | awk '{print $1}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user