Skip to content

Commit 557bcb9

Browse files
authored
Seafile with Let's Encrypt Using Docker Compose
1 parent 5ae5fcc commit 557bcb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

seafile-traefik-letsencrypt-docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
# Pass the original Host header to the container
8383
- "traefik.http.services.seafile.loadbalancer.passhostheader=true"
8484
# Apply middlewares for security headers and compression
85-
- "traefik.http.routers.seafile.middlewares=sec-headers@docker,compresstraefik@docker"
85+
- "traefik.http.routers.seafile.middlewares=sec-headers,compresstraefik"
8686
# Match incoming requests on the specific hostname for Seafdav
8787
- "traefik.http.routers.seafile-dav.rule=Host(`${SEAFILE_HOSTNAME}`) && PathPrefix(`/seafdav`)"
8888
# Assign the router to a named Traefik service
@@ -98,7 +98,7 @@ services:
9898
# Pass the original Host header to the container
9999
- "traefik.http.services.seafile-dav.loadbalancer.passhostheader=true"
100100
# Apply compression middleware
101-
- "traefik.http.routers.seafile-dav.middlewares=compresstraefik@docker"
101+
- "traefik.http.routers.seafile-dav.middlewares=compresstraefik"
102102
# Match incoming requests on the specific hostname for Seafhttp
103103
- "traefik.http.routers.seafile-http.rule=Host(`${SEAFILE_HOSTNAME}`) && PathPrefix(`/seafhttp`)"
104104
# Assign the router to a named Traefik service
@@ -115,7 +115,7 @@ services:
115115
- "traefik.http.services.seafile-http.loadbalancer.passhostheader=true"
116116
# Apply middlewares for stripping prefix and compression
117117
- "traefik.http.middlewares.seafile-strip.stripprefix.prefixes=/seafhttp"
118-
- "traefik.http.routers.seafile-http.middlewares=seafile-strip@docker,compresstraefik@docker"
118+
- "traefik.http.routers.seafile-http.middlewares=seafile-strip,compresstraefik"
119119
# Security headers settings
120120
- "traefik.http.middlewares.sec-headers.headers.sslredirect=true"
121121
- "traefik.http.middlewares.sec-headers.headers.browserXssFilter=true"

0 commit comments

Comments
 (0)