computer-playbook/roles/nginx-docker-reverse-proxy/templates/domain.conf.j2

20 lines
484 B
Django/Jinja

server
{
server_name {{domain}};
# Include Matomo Tracking Code
{% if nginx_matomo_tracking %}
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}
{% endif %}
# Additional Domain Specific Configuration
{% if nginx_docker_reverse_proxy_extra_configuration is defined %}
{{nginx_docker_reverse_proxy_extra_configuration}}
{% endif %}
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
{% include 'proxy_pass.conf.j2' %}
}