Created
July 27, 2009 19:01
-
-
Save jpoz/156675 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ## FRONT END SERVER | |
| location ^~ /progress { | |
| proxy_pass_header X-Progress-ID; | |
| proxy_pass_header X-Request-With; | |
| proxy_pass http://174.129.123.123; | |
| break; | |
| } | |
| location /videos { | |
| proxy_buffering off; | |
| proxy_pass_request_body on; | |
| proxy_max_temp_file_size 0m; | |
| client_max_body_size 200m; | |
| proxy_pass http://174.129.123.123; | |
| break; | |
| } | |
| ## UPLOAD SERVER | |
| location / { | |
| track_uploads proxied 30s; | |
| client_max_body_size 200m; | |
| if (!-f $request_filename) { | |
| proxy_pass http://panda_upstream; | |
| break; | |
| } | |
| location ^~ /progress { | |
| report_uploads proxied; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment