Skip to content
Snippets Groups Projects
Commit 8e17d127 authored by Nico's avatar Nico
Browse files

revproxy: allow specifing max_body_size

parent d655654c
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,9 @@ server {
add_header Strict-Transport-Security "max-age=31536000";
#add_header X-Frame-Options "SAMEORIGIN";
client_max_body_size 3G;
{% if vhost.max_body_size is defined %}
client_max_body_size {{ vhost.max_body_size }};
{% endif %}
# lets encrypt challenges
location /.well-known/acme-challenge/ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment