mirror of
https://github.com/makayabou/asg-server.git
synced 2026-05-02 17:43:36 +02:00
[deploy] route only /api requests to the backend
This commit is contained in:
parent
50f4df4100
commit
0350504b0c
@ -76,7 +76,7 @@ resource "docker_service" "app" {
|
||||
}
|
||||
labels {
|
||||
label = "traefik.http.routers.${var.app-name}.rule"
|
||||
value = "Host(`${var.app-host}`)"
|
||||
value = "Host(`${var.app-host}`) && PathPrefix(`/api`)"
|
||||
}
|
||||
labels {
|
||||
label = "traefik.http.routers.${var.app-name}.entrypoints"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user