1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-30 09:03:24 +02:00
2022-02-22 23:00:05 +01:00

16 lines
449 B
Django/Jinja

location /llng-reload {
{% for ip in llng_reload_src_ip | default([]) %}
allow {{ ip }};
{% endfor %}
deny all;
{% if llng_engine == 'fastcgi' %}
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/llng-fastcgi-server/llng-fastcgi.sock;
fastcgi_param LLTYPE reload;
{% elif llng_engine == 'uwsgi' %}
include /etc/nginx/uwsgi_params;
uwsgi_pass unix:/run/llng-uwsgi/llng-uwsgi.sock;
uwsgi_param LLTYPE reload;
{% endif %}
}