Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
- cd /usr/local/etc/nginx/sites-enabled
- ln -s ../sites-available/default.conf
- ln -s ../sites-available/default-ssl.conf
- File locations:
- * `nginx.conf` to `/usr/local/etc/nginx/`
- * `default.conf` and `default-ssl.conf` to `/usr/local/etc/nginx/sites-available`
- * `homebrew.mxcl.nginx.plist` to `/Library/LaunchDaemons/`
- Nginx manipulations
- * `sudo nginx -t` validate nginx config
- * `sudo nginx -s reload` restart nginx
Add Comment
Please, Sign In to add comment