fixed MAX_UPLOAD_SIZE and AUTO_JOIN_ROOM_LIST config

This commit is contained in:
val
2025-10-29 13:49:02 +01:00
parent 809055dadb
commit db6440b317
5 changed files with 18 additions and 5 deletions

View File

@ -28,7 +28,7 @@ http {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
client_max_body_size 50M;
client_max_body_size {{ or (env "MAX_UPLOAD_SIZE") "50M" }};
proxy_http_version 1.1;
}
@ -37,7 +37,7 @@ http {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
client_max_body_size 50M;
client_max_body_size {{ or (env "MAX_UPLOAD_SIZE") "50M" }};
proxy_http_version 1.1;
}
@ -56,7 +56,7 @@ http {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
client_max_body_size 50M;
client_max_body_size {{ or (env "MAX_UPLOAD_SIZE") "50M" }};
proxy_http_version 1.1;
}
{{ end }}