Two problems with Nginx

Two problems with Nginx

Yesterday, Mr. Sun Dajun, the village flower in our village, had two Nginx errors. Let me help to solve it, but I am a rookie... I couldn't solve the problem for my Dajun, and my mood was down.

first question

nginx反向代理,使用域名+服务地址上传60m文件上传不成功,但是使用ip地址+服务地址就可以上传成功。
解决问题:将nginx的配置client_max_body_size  200m

second question

nginx反向代理,页面样式,js文件加载缺失。
解决问题:
		proxy_buffer_size  128k;
		proxy_buffers   32 128k;
		proxy_busy_buffers_size  128k;

Reference article: https://blog.csdn.net/ikmb/article/details/7098080

Guess you like

Origin blog.csdn.net/Bruce_Zhang0828/article/details/95475282