kejilion / sh

分享定制化的shell脚本!
406 stars 286 forks source link

centos7 安装LDNMP环境,nginx启动异常 #5

Open jance-hui opened 5 months ago

jance-hui commented 5 months ago

DD的centos7,使用一键脚本安装LDNMP环境时,nginx容器启动异常。 错误代码“proxy_busy_buffers_size“ must be less than the size of all “proxy_buffers“ minus one buffer

查看nginx.conf配置文件,发现57行只设置了proxy_buffers 16 8k;,没有设置proxy_busy_buffers_size。 问了下gpt,在下方添加了 proxy_busy_buffers_size 120k;后,nginx可正常启动了。

仅在centos7上出现了这个问题。其他系统未知 image

kejilion commented 5 months ago

谢谢 分享你的问题 我把这个加上去 其他系统没问题 proxy_busy_buffers_size 120k


发件人: jance-hui @.> 发送时间: 2024年3月24日 19:27 收件人: kejilion/sh @.> 抄送: Subscribed @.***> 主题: [kejilion/sh] centos7 安装LDNMP环境,nginx启动异常 (Issue #5)

DD的centos7,使用一键脚本安装LDNMP环境时,nginx容器启动异常。 错误代码“proxy_busy_buffers_size“ must be less than the size of all “proxy_buffers“ minus one buffer

查看nginx.conf配置文件,发现57行只设置了proxy_buffers 16 8k;,没有设置proxy_busy_buffers_size。 问了下gpt,在下方添加了 proxy_busy_buffers_size 120k;后,nginx可正常启动了。

仅在centos7上出现了这个问题。其他系统未知 image.png (view on web)https://github.com/kejilion/sh/assets/43159982/5ac61b6f-f118-4e4a-b053-c18d5ec0e8e6

― Reply to this email directly, view it on GitHubhttps://github.com/kejilion/sh/issues/5, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7O6ZHJOOFEL3W6T6TG3UQLYZ7GXTAVCNFSM6AAAAABFGPZAU6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDKMBXHE3TIMI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

kejilion commented 5 months ago

已经修复 谢谢

jance-hui @.***> 于2024年3月25日周一 15:27写道:

DD的centos7,使用一键脚本安装LDNMP环境时,nginx容器启动异常。 错误代码“proxy_busy_buffers_size“ must be less than the size of all “proxy_buffers“ minus one buffer

查看nginx.conf配置文件,发现57行只设置了proxy_buffers 16 8k; ,没有设置proxy_busy_buffers_size。 问了下gpt,在下方添加了 proxy_busy_buffers_size 120k;后,nginx可正常启动了。

仅在centos7上出现了这个问题。其他系统未知 image.png (view on web) https://github.com/kejilion/sh/assets/43159982/5ac61b6f-f118-4e4a-b053-c18d5ec0e8e6

— Reply to this email directly, view it on GitHub https://github.com/kejilion/sh/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7O6ZHJOOFEL3W6T6TG3UQLYZ7GXTAVCNFSM6AAAAABFGPZAU6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDKMBXHE3TIMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>