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
Vladimir Mikhalev committed Sep 21, 2024
1 parent 89f558e commit af66358
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nextcloud-traefik-letsencrypt-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ services:
- "traefik.http.services.nextcloud.loadbalancer.passhostheader=true"
- "traefik.http.routers.nextcloud.middlewares=compresstraefik"
- "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.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 af66358

Please sign in to comment.