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

20 lines
501 B
Django/Jinja

server
{
server_name {{domain}};
# Include Matomo Tracking Code
{% if nginx_matomo_tracking | default(False) %}
{% 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' %}
}