Commit 02802125 by ningfd

Update cfg-autodl-nginx.yaml

1 parent a4389e73
Showing with 4 additions and 2 deletions
...@@ -13,7 +13,7 @@ data: ...@@ -13,7 +13,7 @@ data:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
client_max_body_size 50m; client_max_body_size 200m;
} }
} }
agent-server-fs.conf: | agent-server-fs.conf: |
...@@ -55,7 +55,7 @@ data: ...@@ -55,7 +55,7 @@ data:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
client_max_body_size 50m; client_max_body_size 200m;
} }
location ~ /tensorboard/proxy/([-_.:\w]+)/(.*) { location ~ /tensorboard/proxy/([-_.:\w]+)/(.*) {
...@@ -151,6 +151,8 @@ data: ...@@ -151,6 +151,8 @@ data:
sendfile on; sendfile on;
#tcp_nopush on; #tcp_nopush on;
client_max_body_size 200m;
client_body_buffer_size 16k;
keepalive_timeout 65; keepalive_timeout 65;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!