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