How to test nginx config file

less than 1 minute read

How to test nginx config file

Assuming you have nginx installed on your linux server. Run the following command:

sudo nginx -t

Leave a comment