我想在本地启动项目。当我尝试使用php-fpm这一行fastcgi_pass unix:/run/php/php7.0-fpm.sock;然后nginx不重新加载时,它会退出并显示 error: nginx: [emerg] zero size shared memory zone "one"。
我该如何决定这个问题?我应该设置吗nginx_uploadprogress_module?
我的配置文件:
server {
listen 80;
server_name demi-le.work;
# DDoS protection - allow up to 20 r/s peaks
limit_req zone=one burst=20;
root /home/demi/projects/demi-le.work/web;
#root /opt/sites/underconstruction;
index index.htm index.html index.php app-ind.php;
client_max_body_size 30m;
charset utf-8;
# Deliver static content
location /public {
# DDoS protection - allow up to 50 r/s peaks
#limit_req zone=one burst=50;
root /home/demi/projects/demi-le.work;
access_log off;
expires 300d; …Run Code Online (Sandbox Code Playgroud)