update to latest state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-19 13:42:53 +01:00
parent 21a7c54b96
commit 3c883cdded
6 changed files with 29 additions and 14 deletions

View File

@ -69,9 +69,9 @@ http {
server_name {{ server.domain }};
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
{%- if server.bigrequests %}
{% if server.bigrequests %}
client_max_body_size 8G;
{%- endif %}
{% endif %}
location /{
{% if server.https %}
proxy_pass https://127.0.0.1:{{ server.port }};
@ -88,8 +88,8 @@ http {
allow 192.168.69.0/24;
deny all;
}
{%- if server.additionallocations is defined %}
{%- for location in server.additionallocations %}
{% if server.additionallocations is defined %}
{% for location in server.additionallocations %}
location {{location.location}}{
{% if location.https %}
proxy_pass https://127.0.0.1:{{ location.port }};
@ -97,11 +97,11 @@ http {
proxy_pass http://127.0.0.1:{{ location.port }};
{% endif %}
}
{%- endfor %}
{%- endif %}
{% endfor %}
{% endif %}
}
{% endfor %}
{%- endfor %}
server {
listen 8888;