1.nginx buffer configuration
2. Skip Redirect
3. header information
4. Timeout
LOCATION / { proxy_pass http://127.0.0.1:8080; (Jump agent URL) proxy_redirect default (redirection, general default); proxy_set_header the Host $ HTTP_HOST; (header information setting) proxy_set_header the IP-X-Real-$ REMOTE_ADDR ; (header information setting) proxy_connect_timeout 30; (TCP request timeout limit) proxy_send_timeout 60; (the server sends a request to the upstream timeout) proxy_read_timeout 60; (super reading time) proxy_buffer_size 32K; (Nginx header information read buffer size) proxy_buffering on (open try to read the data buffer); proxy_buffers 128K. 4 (file size); proxy_busy_buffers_size 256K; proxy_max_temp_file_size 256K; the include proxy_params; (configuration may be placed in this document) }