Created
November 22, 2014 15:29
-
-
Save liruqi/ee8c158700d4331053f6 to your computer and use it in GitHub Desktop.
nginx http proxy config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name *.cn *.org *.com *.jp *.hk *.io *.info ""; | |
client_body_timeout 60000; | |
client_max_body_size 1024m; | |
send_timeout 60000; | |
client_header_buffer_size 16k; | |
large_client_header_buffers 4 64k; | |
proxy_headers_hash_bucket_size 1024; | |
proxy_headers_hash_max_size 4096; | |
proxy_read_timeout 60000; | |
proxy_send_timeout 60000; | |
location / { | |
resolver 8.8.8.8; | |
proxy_pass http://$http_host$request_uri; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment