bundles/nginx: add configuration option for client_max_body_size
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-03-30 21:26:25 +02:00
parent b7583bc8cc
commit b52a196c73
Signed by: kunsi
GPG key ID: 12E3D2136B818350
13 changed files with 19 additions and 37 deletions

View file

@ -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;