fix(infra): hub at root domain asepharyana.my.id
This commit is contained in:
@@ -36,8 +36,8 @@ Traefik (v3.6)
|
|||||||
├─ Plugin: real-ip (Cloudflare), block-sensitive-paths
|
├─ Plugin: real-ip (Cloudflare), block-sensitive-paths
|
||||||
│
|
│
|
||||||
▼ Router matching
|
▼ Router matching
|
||||||
Host(`scraper.asepharyana.my.id`) || Host(`api.asepharyana.my.id') → scraper-api
|
Host(`asepharyana.my.id`) || Host(`www.asepharyana.my.id`) || Host(`hub.asepharyana.my.id`) → hub
|
||||||
Host(`hub.asepharyana.my.id`) → hub
|
Host(`scraper.asepharyana.my.id`) || Host(`api.asepharyana.my.id`) → scraper-api
|
||||||
│
|
│
|
||||||
▼ Service load balancer
|
▼ Service load balancer
|
||||||
http://scraper-api:4091
|
http://scraper-api:4091
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ http:
|
|||||||
routers:
|
routers:
|
||||||
# ── Hub (Portfolio SPA) ──
|
# ── Hub (Portfolio SPA) ──
|
||||||
hub:
|
hub:
|
||||||
rule: 'Host(`hub.asepharyana.my.id`) || Host(`hub.asepharyana.web.id`)'
|
rule: 'Host(`asepharyana.my.id`) || Host(`www.asepharyana.my.id`) || Host(`hub.asepharyana.my.id`) || Host(`asepharyana.web.id`) || Host(`www.asepharyana.web.id`) || Host(`hub.asepharyana.web.id`)'
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
tls: {}
|
tls: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user