From 73f7ed8791270ed2c30bd2709771bf2a8d53c9db Mon Sep 17 00:00:00 2001
From: jabertwo <git@jabertwo.de>
Date: Sat, 15 Jul 2023 22:18:08 +0200
Subject: [PATCH] fix nextcloud reverse proxy config

---
 verwaltung/docker_nextcloud/templates/docker-compose.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/verwaltung/docker_nextcloud/templates/docker-compose.yml b/verwaltung/docker_nextcloud/templates/docker-compose.yml
index 361fe7a6..8cce61ab 100644
--- a/verwaltung/docker_nextcloud/templates/docker-compose.yml
+++ b/verwaltung/docker_nextcloud/templates/docker-compose.yml
@@ -42,6 +42,9 @@ services:
       MYSQL_HOST: mysql
       NEXTCLOUD_ADMIN_USER: "admin"
       NEXTCLOUD_ADMIN_PASSWORD: "{{nextcloud_admin_pass}}"
+      OVERWRITEPROTOCOL: https
+      OVERWRITECLIURL: https://{{ domain }}
+      OVERWRITEHOST: {{ domain }}
     labels:
       - traefik.enable=true
       - traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`)
-- 
GitLab