Compare commits

..

1 Commits

Author SHA1 Message Date
Robin-Charles GUIHENEUF
09a225adf8 [skip ci] Save: do not merge 2020-10-31 19:15:26 +01:00

View File

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