Skip to content

Commit

Permalink
Nextcloud with Let's Encrypt Using Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvaldemar authored Sep 21, 2024
1 parent cdefd7b commit 3be3412
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nextcloud-traefik-letsencrypt-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,12 @@ services:
- "traefik.http.routers.nextcloud.tls=true"
- "traefik.http.routers.nextcloud.tls.certresolver=letsencrypt"
- "traefik.http.services.nextcloud.loadbalancer.passhostheader=true"
- "traefik.http.routers.nextcloud.middlewares=compresstraefik"
- "traefik.http.routers.nextcloud.middlewares=compresstraefik,sts-headers,dav-discovery"
- "traefik.http.middlewares.compresstraefik.compress=true"
- "traefik.http.middlewares.sts-headers.headers.stsSeconds=15552000"
- "traefik.http.middlewares.sts-headers.headers.stsIncludeSubdomains=True"
- "traefik.http.middlewares.sts-headers.headers.stsIncludeSubdomains=true"
- "traefik.http.middlewares.dav-discovery.replacepathregex.regex=^/.well-known/(card|cal)dav"
- "traefik.http.middlewares.dav-discovery.replacepathregex.replacement=/remote.php/dav/"
- "traefik.http.routers.nextcloud.middlewares=sts-headers,dav-discovery"
- "traefik.docker.network=traefik-network"
restart: unless-stopped
depends_on:
Expand Down

0 comments on commit 3be3412

Please sign in to comment.