1
更新y後,我們加密域更新,我無法啓動Nginx。我收到一條消息: nginx: [emerg] zero size shared memory zone "one".
讓我們加密更新後,nginx無法啓動
我沒有找到任何解決方案,有沒有人解決它?
我看到這個內存被我的4名工作人員使用,我添加了一個代理,但是我的服務器仍然沒有重啓。
謝謝
user nginx;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1.2;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
#proxy
proxy_cache_path /var/nginx/cache levels=1:2 keys_zone=app_cache:10m max_size=5g inactive=45m use_temp_path=off;
}
什麼是你的配置看起來像? –
在nginx中可能出現[zero size shared memory zone「proxied」的副本)(http://stackoverflow.com/questions/11422425/zero-size-shared-memory-zone-proxied-in-nginx) –
謝謝Shawn for你的回答,我嘗試了你給我的鏈接中的解決方案,但它沒有改變任何東西。 –