有时候在操作一台陌生的nginx服务器的时候,需要知道配置文件在哪里,下面教大家一种简单的方法:
ps -ef | grep nginx
/usr/local/openresty/nginx/sbin/nginx -t
以上就介绍了如何找出nginx配置文件的所在位置,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号