Move HTTP upload limit to the correct location
This commit is contained in:
parent
e8236cbf77
commit
961fb9e1b8
|
@ -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;
|
||||
|
|
|
@ -26,7 +26,6 @@ location /share {
|
|||
|
||||
location /upload {
|
||||
try_files none @prosody;
|
||||
client_max_body_size 16M;
|
||||
}
|
||||
|
||||
location @portal {
|
||||
|
|
Loading…
Reference in New Issue