VPS侦探论坛
标题:
nginx转发后,访问速度变慢
[打印本页]
作者:
pujunchao
时间:
2014-7-24 14:41
标题:
nginx转发后,访问速度变慢
nginx配置如下:
server {
listen 8050;
server_name localhost;
charset utf-8;
#access_log logs/host.access.log main;
#-------------------------------------------------
location ~ ^/status/ {
stub_status on;
access_log off;
}
location /aa {
proxy_pass http://payrollciicfs;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_buffer_size 4k;
# proxy_buffers 4 32k;
# proxy_busy_buffers_size 64k;
# proxy_temp_file_write_size 64k;
# proxy_max_temp_file_size 512m;
proxy_redirect http://域名/aa https://域名/aa;
}
请大侠指点。
作者:
licess
时间:
2014-7-24 17:17
这个不清楚什么原因
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4