@@ -8,11 +8,8 @@ services:
8
8
- traefik.port=5050
9
9
- traefik.tags=${TRAEFIK_PUBLIC_TAG}
10
10
- traefik.docker.network=${TRAEFIK_PUBLIC_NETWORK}
11
- # Traefik service that listens to HTTP
12
- - traefik.redirectorservice.frontend.entryPoints=http
13
- - traefik.redirectorservice.frontend.redirect.entryPoint=https
14
- # Traefik service that listens to HTTPS
15
- - traefik.webservice.frontend.entryPoints=https
11
+ - traefik.frontend.entryPoints=http,https
12
+ - traefik.frontend.redirect.entryPoint=https
16
13
proxy :
17
14
deploy :
18
15
labels :
@@ -25,18 +22,15 @@ services:
25
22
- traefik.port=80
26
23
- traefik.tags=${TRAEFIK_PUBLIC_TAG}
27
24
- traefik.docker.network=${TRAEFIK_PUBLIC_NETWORK}
28
- # Traefik service that listens to HTTP
29
- - traefik.servicehttp.frontend.entryPoints=http
30
- - traefik.servicehttp.frontend.redirect.entryPoint=https
31
- # Traefik service that listens to HTTPS
32
- - traefik.servicehttps.frontend.entryPoints=https
25
+ - traefik.frontend.entryPoints=http,https
26
+ - traefik.frontend.redirect.entryPoint=https
33
27
# Uncomment the config line below to detect and redirect www to non-www (or the contrary)
34
28
# The lines above for traefik.frontend.rule are needed too
35
- # - "traefik.servicehttps. frontend.redirect.regex=^https?://(www.)?(${DOMAIN})/(.*)"
29
+ # - "traefik.frontend.redirect.regex=^https?://(www.)?(${DOMAIN})/(.*)"
36
30
# To redirect from non-www to www un-comment the line below
37
- # - "traefik.servicehttps. frontend.redirect.replacement=https://www.${DOMAIN}/$$3"
31
+ # - "traefik.frontend.redirect.replacement=https://www.${DOMAIN}/$$3"
38
32
# To redirect from www to non-www un-comment the line below
39
- # - "traefik.servicehttps. frontend.redirect.replacement=https://${DOMAIN}/$$3"
33
+ # - "traefik.frontend.redirect.replacement=https://${DOMAIN}/$$3"
40
34
flower :
41
35
deploy :
42
36
labels :
@@ -45,11 +39,8 @@ services:
45
39
- traefik.port=5555
46
40
- traefik.tags=${TRAEFIK_PUBLIC_TAG}
47
41
- traefik.docker.network=${TRAEFIK_PUBLIC_NETWORK}
48
- # Traefik service that listens to HTTP
49
- - traefik.redirectorservice.frontend.entryPoints=http
50
- - traefik.redirectorservice.frontend.redirect.entryPoint=https
51
- # Traefik service that listens to HTTPS
52
- - traefik.webservice.frontend.entryPoints=https
42
+ - traefik.frontend.entryPoints=http,https
43
+ - traefik.frontend.redirect.entryPoint=https
53
44
backend :
54
45
deploy :
55
46
labels :
0 commit comments