Cancel
Start searching
This search is based on elasticsearch and can look through several thousand pages in miliseconds.
Learn moreThe configuration for the Nginx web server is contained in two files.
/usr/local/etc/nginx/nginx.conf
/usr/local/etc/nginx/vhosts/default.conf
The default.conf file is included in nginx.conf. Additional files can also be added here.
Direct changes to the vHost, however, are made in `default.conf`.
After every change to the Nginx configuration, you must at least perform a reload. If that is not sufficient, you must perform a restart.
Below are the most common control commands for the Nginx service:
sudo service nginx start|stop|restart|reload|configtest|status