nginx Getting started with nginx Reload NGINX configuration file

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

As a root user:

sudo nginx -s reload

Ubuntu 14.04 example

sudo service nginx reload

Ubuntu 16.04 example

sudo systemctl reload nginx

Before reloading, it is a good idea to check config for syntax errors:

sudo nginx -t

Or

sudo service nginx configtest


Got any nginx Question?