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
|
||||
│
|
||||
▼ Router matching
|
||||
Host(`scraper.asepharyana.my.id`) || Host(`api.asepharyana.my.id') → scraper-api
|
||||
Host(`hub.asepharyana.my.id`) → hub
|
||||
Host(`asepharyana.my.id`) || Host(`www.asepharyana.my.id`) || Host(`hub.asepharyana.my.id`) → hub
|
||||
Host(`scraper.asepharyana.my.id`) || Host(`api.asepharyana.my.id`) → scraper-api
|
||||
│
|
||||
▼ Service load balancer
|
||||
http://scraper-api:4091
|
||||
|
||||
@@ -2,7 +2,7 @@ http:
|
||||
routers:
|
||||
# ── Hub (Portfolio SPA) ──
|
||||
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:
|
||||
- websecure
|
||||
tls: {}
|
||||
|
||||
Reference in New Issue
Block a user