Move HTTP upload limit to the correct location
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user