You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker-compose.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -76,10 +76,10 @@ services:
76
76
77
77
- traefik.http.services.${STACK_NAME?Variable not set}-backend.loadbalancer.server.port=80
78
78
79
-
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-http.rule=Host(`${DOMAIN?Variable not set}`, `www.${DOMAIN?Variable not set}`) && PathPrefix(`/api`, `/docs`, `/redoc`)
79
+
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-http.rule=(Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`))
80
80
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-http.entrypoints=http
81
81
82
-
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.rule=Host(`${DOMAIN?Variable not set}`, `www.${DOMAIN?Variable not set}`) && PathPrefix(`/api`, `/docs`, `/redoc`)
82
+
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.rule=(Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`))
83
83
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.entrypoints=https
84
84
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.tls=true
85
85
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.tls.certresolver=le
@@ -111,10 +111,10 @@ services:
111
111
112
112
- traefik.http.services.${STACK_NAME?Variable not set}-frontend.loadbalancer.server.port=80
113
113
114
-
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-http.rule=Host(`${DOMAIN?Variable not set}`, `www.${DOMAIN?Variable not set}`)
114
+
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-http.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
115
115
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-http.entrypoints=http
116
116
117
-
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-https.rule=Host(`${DOMAIN?Variable not set}`, `www.${DOMAIN?Variable not set}`)
117
+
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-https.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`)
118
118
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-https.entrypoints=https
119
119
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-https.tls=true
120
120
- traefik.http.routers.${STACK_NAME?Variable not set}-frontend-https.tls.certresolver=le
0 commit comments