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.
 
 
 
 

22 lines
807 B

{% block proxy_conf %}
{#
This is the default block that gets included if the
child template does not declare a {% block proxy_conf %}
#}
location /{{ nginx_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;
{{ nginx_proxy_type | default("proxy_pass") }} {{ nginx_proxy_remote_host | default("http://127.0.0.1:8080") }};
{% block root %}
{% endblock %}
}
{% endblock %}
{% block extra %}
{% endblock %}