bundles/nginx: add configuration option for client_max_body_size
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
b7583bc8cc
commit
b52a196c73
13 changed files with 19 additions and 37 deletions
|
@ -20,6 +20,12 @@ server {
|
|||
resolver 8.8.8.8 8.8.4.4 valid=300s;
|
||||
resolver_timeout 5s;
|
||||
|
||||
% if max_body_size:
|
||||
client_max_body_size ${max_body_size};
|
||||
% elif proxy:
|
||||
client_max_body_size 5M;
|
||||
% endif
|
||||
|
||||
add_header Referrer-Policy same-origin;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue