fix: variable

This commit is contained in:
Lennard Brinkhaus 2024-02-04 01:53:47 +01:00
parent 0366e2011f
commit dc00b4cbaf
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
3 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@
ansible.builtin.template:
src: nextcloud-web.quadlet.j2
dest: "/etc/containers/systemd/nextcloud-web.container"
- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true

View File

@ -16,7 +16,7 @@ Environment=POSTGRES_USER=nextcloud
Environment=POSTGRES_PASSWORD=nextcloud
Environment=POSTGRES_DB=nextcloud
Environment=NEXTCLOUD_TRUSTED_DOMAINS={% for domain in nextcloud_domains %}{{domain}} {% endfor %}
Environment=NEXTCLOUD_TRUSTED_DOMAINS={{ nextcloud_domains|join(" ") }}
Network=nextcloud.network

View File

@ -14,7 +14,7 @@ Network=nextcloud.network
Volume=/var/nextcloud/web/nginx.conf:/etc/nginx/nginx.conf
Volume=/var/nextcloud/app:/var/www/html:z
{% for domain in nextcloud_domains %}
{% for domain in nextcloud_domains -%}
Label="traefik.http.routers.nextcloud{{loop.index}}.tls.certresolver=resolver"
Label="traefik.http.routers.nextcloud{{loop.index}}.tls=true"
Label="traefik.http.routers.nextcloud{{loop.index}}.rule=Host(`{{ domain }}`)"