Last conf before slashing all to NC AIO.

This commit is contained in:
stcb 2024-12-03 11:34:30 +01:00
parent 84eeb3b3d9
commit dbfb7cbcea

View File

@ -13,7 +13,7 @@ services:
- --entrypoints.http.http.redirections.entrypoint.to=https - --entrypoints.http.http.redirections.entrypoint.to=https
- --entrypoints.https.address=:443 - --entrypoints.https.address=:443
- --log.level=info - --log.level=info
- --providers.docker.exposedbydefault=false - --providers.docker.exposedbydefault=true
- --providers.docker=true - --providers.docker=true
ports: ports:
- "80:80" - "80:80"
@ -62,14 +62,15 @@ services:
init: true init: true
environment: environment:
- APACHE_PORT=11000 - APACHE_PORT=11000
- SKIP_DOMAIN_VALIDATION=true # - SKIP_DOMAIN_VALIDATION=true
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.middlewares.nextcloud_headers.headers.hostsProxyHeaders=X-Forwarded-Host - traefik.http.middlewares.nextcloud_headers.headers.hostsProxyHeaders=X-Forwarded-Host
- traefik.http.middlewares.nextcloud_headers.headers.referrerPolicy=same-origin - traefik.http.middlewares.nextcloud_headers.headers.referrerPolicy=same-origin
- traefik.http.routers.nextcloud.entrypoints=https
- traefik.http.routers.nextcloud.middlewares=nextcloud_headers - traefik.http.routers.nextcloud.middlewares=nextcloud_headers
- traefik.http.routers.nextcloud.rule=Host(`cloud.clps.ch`) - traefik.http.routers.nextcloud.rule=Host(`cloud.clps.ch`)
- traefik.http.routers.nextcloud.entrypoints=https
- traefik.http.routers.nextcloud.tls.certresolver=letsencrypt - traefik.http.routers.nextcloud.tls.certresolver=letsencrypt
- traefik.http.services.nextcloud.loadbalancer.server.port=11000 - traefik.http.services.nextcloud.loadbalancer.server.port=11000
ports: ports: