解决nginx: [alert] could not open error log file启动不了的问题

07-14 1955阅读

问题描述:

nginx: [alert] could not open error log file: open() "/usr/local/openresty/nginx/logs/error.log" failed (13: Permission denied)

2024/01/20 12:54:44 [emerg] 4800#4800: open() "/usr/local/openresty/nginx/logs/access.log" failed (13: Permission denied)
解决nginx: [alert] could not open error log file启动不了的问题

解决办法:

切换到root再启动

解决nginx: [alert] could not open error log file启动不了的问题

VPS购买请点击我

文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

目录[+]