paulbsd-salt/states/nginx/templates/https.j2
2024-01-03 13:29:16 +01:00

8 lines
369 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "nginx/map.jinja" import nginx with context %}
listen {{ nginx.config.https_port }} ssl http2;
listen [::]:{{ nginx.config.https_port }} ssl http2;
listen {{ nginx.config.https_proxy_port }} ssl http2 proxy_protocol;
listen [::]:{{ nginx.config.https_proxy_port }} ssl http2 proxy_protocol;