How to test nginx config filenginx1 min readAssuming you have nginx installed on your linux server. Run the following command: sudo nginx -t