Last active
January 18, 2023 11:21
-
-
Save jmkim/eff9045c02048b674a6f6978d51aa23b to your computer and use it in GitHub Desktop.
Infinity upload · download configuration for Nginx
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
location /nas/ { | |
rewrite ^/nas(.*) /$1 break; | |
proxy_pass http://$HOST:$PORT; | |
proxy_buffering off; | |
proxy_request_buffering off; | |
proxy_max_temp_file_size 0; | |
client_max_body_size 10000G; | |
client_body_timeout 365d; | |
proxy_read_timeout 365d; | |
proxy_connect_timeout 365d; | |
proxy_send_timeout 365d; | |
send_timeout 365d; | |
access_log /var/log/nginx/nas/access.log; | |
error_log /var/log/nginx/nas/error.log error; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment