@@ -82,7 +82,7 @@ services:
82
82
# Pass the original Host header to the container
83
83
- " traefik.http.services.seafile.loadbalancer.passhostheader=true"
84
84
# 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"
86
86
# Match incoming requests on the specific hostname for Seafdav
87
87
- " traefik.http.routers.seafile-dav.rule=Host(`${SEAFILE_HOSTNAME}`) && PathPrefix(`/seafdav`)"
88
88
# Assign the router to a named Traefik service
@@ -98,7 +98,7 @@ services:
98
98
# Pass the original Host header to the container
99
99
- " traefik.http.services.seafile-dav.loadbalancer.passhostheader=true"
100
100
# Apply compression middleware
101
- - " traefik.http.routers.seafile-dav.middlewares=compresstraefik@docker "
101
+ - " traefik.http.routers.seafile-dav.middlewares=compresstraefik"
102
102
# Match incoming requests on the specific hostname for Seafhttp
103
103
- " traefik.http.routers.seafile-http.rule=Host(`${SEAFILE_HOSTNAME}`) && PathPrefix(`/seafhttp`)"
104
104
# Assign the router to a named Traefik service
@@ -115,7 +115,7 @@ services:
115
115
- " traefik.http.services.seafile-http.loadbalancer.passhostheader=true"
116
116
# Apply middlewares for stripping prefix and compression
117
117
- " 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"
119
119
# Security headers settings
120
120
- " traefik.http.middlewares.sec-headers.headers.sslredirect=true"
121
121
- " traefik.http.middlewares.sec-headers.headers.browserXssFilter=true"
0 commit comments