mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
Compute POSTGRES_ALLOWED_AVG_CONNECTIONS once and propagate to app roles (gitlab, mastodon, listmonk, matrix, pretix, mobilizon, openproject, discourse). Fix docker-compose postgres command (-c flags split). Add unit tests. Minor env/locale tweaks and includes. Conversation: https://chatgpt.com/share/68b48e72-cc28-800f-9c21-270cbc17d82a
15 lines
486 B
Django/Jinja
15 lines
486 B
Django/Jinja
server {
|
|
server_name {{ domain }};
|
|
{% include 'roles/srv-letsencrypt/templates/ssl_header.j2' %}
|
|
|
|
# For the federation port
|
|
listen {{ MATRIX_FEDERATION_PORT }} ssl default_server;
|
|
listen [::]:{{ MATRIX_FEDERATION_PORT }} ssl default_server;
|
|
|
|
{% include 'roles/sys-front-inj-all/templates/server.conf.j2'%}
|
|
|
|
{% include 'roles/srv-proxy-core/templates/location/html.conf.j2' %}
|
|
|
|
{% include 'roles/srv-proxy-core/templates/location/upload.conf.j2' %}
|
|
}
|