-
-
Save robertkowalski/1728bfc6f9eb5b3bcc08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conf is located at: | |
/opt/local/etc/nginx/nginx.conf | |
previous conf: | |
/opt/local/etc/nginx/nginx.conf.bak | |
revert a nginx deployment: | |
1. restore the old conf, e.g.: | |
cp /opt/local/etc/nginx/nginx.conf.bak /opt/local/etc/nginx/nginx.conf | |
2. restart nginx | |
svcadm restart nginx | |
3. take a look if it was restarted: | |
tail -F $(svcs -L nginx) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment