mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
18 lines
670 B
Django/Jinja
18 lines
670 B
Django/Jinja
server {
|
|
# Somehow .j2 doesn't interpretate the passed variable right. For this reasons this redeclaration is necessary
|
|
{% set domain = domains.matrix_synapse %}
|
|
{% set http_port = ports.localhost.http_ports.matrix_synapse %}
|
|
|
|
server_name {{domain}};
|
|
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
|
|
|
# For the federation port
|
|
listen 8448 ssl default_server;
|
|
listen [::]:8448 ssl default_server;
|
|
|
|
{% if nginx_matomo_tracking | bool %}
|
|
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}
|
|
{% endif %}
|
|
|
|
{% include 'roles/nginx-docker-reverse-proxy/templates/proxy_pass.conf.j2' %}
|
|
} |