How to check the location of nginx configuration files under Linux
This article mainly introduces how to view the nginx configuration file location under Linux. The article is very detailed and has certain reference value. Interested friends must read it!
1. View the Nginx process
Command: ps -aux| grep nginx
Encircled is the binary file of Nginx
2, Test Nginx configuration file
/usr/sbin/nginx -t
You can see the nginx configuration file location
The above is "How to view nginx configuration file location under Linux" All the contents of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!