一、Nginx Proxy Manager 容器报错(502 Bad Gateway openresty)
npm目录:../npm/data/nginx/default_host/site.conf
增加如下设置
proxy_buffer_size 128k;
proxy_buffers 16 128k;
proxy_busy_buffers_size 128k;
fastcgi_buffer_size 128k;
fastcgi_buffers 16 128k;
或者参照:https://github.com/NginxProxyManager/nginx-proxy-manager/issues/438
二、wordpress 容器报错(502 Bad Gateway nginx/1.24.0)
修复上面后,仍会报错
wp目录:../wp/nginx/nginx.conf
新建nginx,提取容器内部的nginx.conf
映射:- ./nginx/nginx.conf:/etc/nginx/nginx.conf
增加如下设置
proxy_buffer_size 128k;
proxy_buffers 16 128k;
proxy_busy_buffers_size 128k;
fastcgi_buffer_size 128k;
fastcgi_buffers 16 128k;
评论 (0)