“如何修复nginx:[emerg]“ fastcgi_cache”区域“ wpcache”在/etc/nginx/nginx.conf中未知”

时间:2019-07-08 06:28:10

标签: nginx server fastcgi vps

我试图修复它,但是当我运行时它无法工作。有人可以指导我如何修复它吗? Nginx 16.0和Centos Linux 7。 谢谢

服务日志:

ul 08 13:29:13 150-95-105-126 systemd[1]: Starting The NGINX HTTP and reverse proxy server...
Jul 08 13:29:13 150-95-105-126 nginx[29274]: nginx: [emerg] "fastcgi_cache" zone "wpcache" is unknown in /etc/nginx/nginx.conf:96
Jul 08 13:29:13 150-95-105-126 nginx[29274]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jul 08 13:29:13 150-95-105-126 systemd[1]: nginx.service: control process exited, code=exited status=1
Jul 08 13:29:13 150-95-105-126 systemd[1]: Failed to start The NGINX HTTP and reverse proxy server.
Jul 08 13:29:13 150-95-105-126 systemd[1]: Unit nginx.service entered failed state.
Jul 08 13:29:13 150-95-105-126 systemd[1]: nginx.service failed

0 个答案:

没有答案