用nginx最代理请求总是 required is not finished yet
来源:互联网 发布:高维数据分析 编辑:程序博客网 时间:2024/06/05 09:44
用以下配置就可以解决访问慢的
location /m/{
proxy_pass http://*;proxy_redirect off ;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 50m;
client_body_buffer_size 256k;
proxy_connect_timeout 1;
proxy_send_timeout 30;
proxy_read_timeout 60;
proxy_buffer_size 256k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_temp_file_write_size 256k;
proxy_next_upstream error timeout invalid_header http_500 http_503 http_404;
proxy_max_temp_file_size 128m;
add_header Cache-Control no-store;
}
阅读全文
1 0
- 用nginx最代理请求总是 required is not finished yet
- NGINX Configuration file [Not finished yet]
- Zookeeper is not connected yet!
- SDK is not loaded yet解决方法
- hbase 异常 Server is not running yet
- Lvmetad is not active yet错误处理
- mybatis-plugin is not activated yet解决办法
- 解决package ~ is not configured yet
- Unity3D 将script 'xxx' 绑定到object上提示 Script 'xxx' has not finished compliation yet. ....
- Required String parameter is not present
- Required CommonsMultipartFile parameter 'file' is not present
- required string parameter XXX is not present
- Required CommonsMultipartFile parameter 'pic' is not present
- When START-OF-SELECTION is Not Required
- Required MultipartFile parameter 'file' is not present
- Required String parameter '×××' is not present
- Required MultipartFile parameter 'uploadFiles' is not present
- Required int[] parameter 'ids' is not present
- Linux-线程(一)创建 终止 等待线程
- 第四章 SpringMVC--Controller接口控制器详解(5)
- UnityShader案例(五)——法线纹理
- [Leetcode] 206. Reverse Linked List 解题报告
- 多线程系列之创建线程
- 用nginx最代理请求总是 required is not finished yet
- 自定义一个strcmp函数。 函数原型为 strcmo(char *p1,char *p2);
- 2017android面试总结
- js--异步加载
- EditText常用样式和方法小结
- java.lang.ClassCastException: com.bumptech.glide.request.target.SquaringDrawable cannot be cast to a
- 《童话镇》
- 安卓手机为什么越用越卡越慢 问题原因探究(转载 文/阑夕)
- jQuery<6.1>