mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-28 18:30:24 +02:00
22 lines
756 B
Plaintext
22 lines
756 B
Plaintext
server
|
|
{
|
|
server_name {{domain}};
|
|
|
|
{% if applications | get_oauth2_enabled(application_id) %}
|
|
{% include 'roles/docker-oauth2-proxy/templates/endpoint.conf.j2'%}
|
|
{% endif %}
|
|
|
|
{% include 'roles/nginx-modifier-all/templates/global.includes.conf.j2'%}
|
|
|
|
{% if nginx_docker_reverse_proxy_extra_configuration is defined %}
|
|
{# Additional Domain Specific Configuration #}
|
|
{{nginx_docker_reverse_proxy_extra_configuration}}
|
|
{% endif %}
|
|
|
|
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
|
|
|
{% for path in syncope_paths.values() %}
|
|
{% set location = web_protocol ~ '://' ~ domains[application_id] ~ '/' ~ path ~ '/' %}
|
|
{% include 'roles/nginx-docker-reverse-proxy/templates/location/proxy_basic.conf.j2'%}
|
|
{% endfor %}
|
|
} |