Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
769 B

{% block proxy_conf %}
{#
This is the default block that gets included if the
child template does not declare a {% block proxy_conf %}
#}
location /{{ proxy_location_path | default("")}} {
client_max_body_size {{ max_body_size | default(8) }}M;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_pass {{ remote_host | default("http://127.0.0.1:8080") }};
}
{% endblock %}
{% block extra %}
{% endblock %}