Move HTTP upload limit to the correct location

This commit is contained in:
Matthew Wild 2021-02-02 12:30:16 +00:00
parent e8236cbf77
commit 961fb9e1b8
2 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,7 @@ server {
root /var/www/html;
location /upload/ {
client_max_body_size 16M;
proxy_pass http://localhost:${SNIKKET_TWEAK_INTERNAL_HTTP_PORT};
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@ -26,7 +26,6 @@ location /share {
location /upload {
try_files none @prosody;
client_max_body_size 16M;
}
location @portal {