试图设置配置文件。Ubuntu 14.04.3 LTS用户根。
nginx -s quit
nginx -c /home/webapps/confs/nginx.conf
nginx -V.=/etc/nginx/nginx.conf.
nginx -s quit
nginx -c /home/webapps/confs/nginx.conf -tnginx:配置文件/home/webapp/confs/nginx.conf语法正常 nginx:配置文件/home/webapp/conf测试是成功的
nginx -V.=/etc/nginx/nginx.conf.
我做错什么了?
发布于 2020-03-26 20:12:02
可以使用-p选项指定前缀路径:
nginx -p /home/webapps/confs/ -c nginx.confhttps://stackoverflow.com/questions/35318424
复制相似问题