Get the App
SLTechnology News&Howtos  ›  Development  › 

How to check the location of nginx configuration files under Linux

Shulou Source: shulou.com Published: 2022-06-01 22:40:33 10月03日 Update

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!

Tags: Files configuration location content articles binaries values interests commands guys buddies that is more knowledge industry information information channels processes channels references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Redmi vpn Linux