These are the basic commands you use to interact with your NGINX instance.
Check NGINX version:
$ nginx -v /* prints the version of nginx */
Check configuration file syntax before reloading:
$ nginx -t /* validates the syntax to ensure that there are no issues with the configuration you're about to push */
Display current configurations:
$ nginx -T /* gives you the configuration which is currently implemented in your instance of nginx */
Reload NGINX
$ nginx -s reload /* takes the configuration and pushes it out to the existing instance */
Latest posts by Rajesh Kumar (see all)
- Atlassian Jira Demo - January 4, 2025
- Revolutionizing Business Management with Microsoft Business Central - January 4, 2025
- Key Benefits of Converting HTML to PDF File Format - January 2, 2025