Commit 8e17d127 authored by Nico's avatar Nico
Browse files

revproxy: allow specifing max_body_size

parent d655654c
......@@ -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/ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment