Moved client_max_body_size to right position.
This commit is contained in:
parent
444d820112
commit
ff74c847e9
2 changed files with 26 additions and 22 deletions
|
@ -12,6 +12,8 @@ server {
|
|||
access_log /var/log/nginx/zammad.access.log;
|
||||
error_log /var/log/nginx/zammad.error.log;
|
||||
|
||||
client_max_body_size 50M;
|
||||
|
||||
location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) {
|
||||
expires max;
|
||||
}
|
||||
|
|
|
@ -11,6 +11,8 @@ server {
|
|||
access_log /var/log/nginx/zammad.access.log;
|
||||
error_log /var/log/nginx/zammad.error.log;
|
||||
|
||||
client_max_body_size 50M;
|
||||
|
||||
location ~ ^/(assets/|robots.txt|humans.txt|favicon.ico) {
|
||||
expires max;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue