Skip to content

Commit d039bb6

Browse files
committed
Fix routing
1 parent e238852 commit d039bb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ services:
7878
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-http.rule=(Host(`api.${DOMAIN?Variable not set}`) || Host(`www.api.${DOMAIN?Variable not set}`)) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`))
7979
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-http.entrypoints=http
8080

81-
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.rule=(Host(api.`${DOMAIN?Variable not set}`) || Host(`www.api.${DOMAIN?Variable not set}`)) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`))
81+
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.rule=(Host(`api.${DOMAIN?Variable not set}`) || Host(`www.api.${DOMAIN?Variable not set}`)) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`))
8282
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.entrypoints=https
8383
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.tls=true
8484
- traefik.http.routers.${STACK_NAME?Variable not set}-backend-https.tls.certresolver=le
@@ -101,7 +101,7 @@ services:
101101
build:
102102
context: ./frontend
103103
args:
104-
- VITE_API_URL=https://admin.${DOMAIN?Variable not set}
104+
- VITE_API_URL=https://api.${DOMAIN?Variable not set}
105105
- NODE_ENV=production
106106
labels:
107107
- traefik.enable=true

0 commit comments

Comments
 (0)