nginx转发后,访问速度变慢
nginx配置如下:server {
listen 8050;
server_namelocalhost;
charset utf-8;
#access_loglogs/host.access.logmain;
#-------------------------------------------------
location ~ ^/status/ {
stub_status on;
access_log off;
}
location /aa {
proxy_passhttp://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;
}
请大侠指点。 这个不清楚什么原因
页:
[1]