mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-09-06 22:45:03 +08:00
nginx remove upload limit
This commit is contained in:
parent
c3d631b84a
commit
9a6aef8bd2
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ server {
|
|||
}
|
||||
|
||||
location /api {
|
||||
client_max_body_size 0;
|
||||
proxy_pass http://server:8080;
|
||||
proxy_redirect default;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
server {
|
||||
listen 8000;
|
||||
|
||||
location / {
|
||||
proxy_pass http://client:3000;
|
||||
proxy_redirect default;
|
||||
|
@ -14,6 +13,7 @@ server {
|
|||
}
|
||||
|
||||
location /api {
|
||||
client_max_body_size 0;
|
||||
proxy_pass http://server:8080;
|
||||
proxy_redirect default;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Add table
Reference in a new issue