made changes for testing
This commit is contained in:
@@ -7,7 +7,7 @@ http:
|
||||
routers:
|
||||
# HTTP to HTTPS redirect router
|
||||
main-app-router-redirect:
|
||||
rule: "Host(`pangolin.akanealw2.com`)"
|
||||
rule: "Host(`pangolin.akanealw3.com`)"
|
||||
service: next-service
|
||||
entryPoints:
|
||||
- web
|
||||
@@ -16,20 +16,20 @@ http:
|
||||
|
||||
# Next.js router (handles everything except API and WebSocket paths)
|
||||
next-router:
|
||||
rule: "Host(`pangolin.akanealw2.com`) && !PathPrefix(`/api/v1`)"
|
||||
rule: "Host(`pangolin.akanealw3.com`) && !PathPrefix(`/api/v1`)"
|
||||
service: next-service
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
domains:
|
||||
- main: "akanealw2.com"
|
||||
- main: "akanealw3.com"
|
||||
sans:
|
||||
- "*.akanealw2.com"
|
||||
- "*.akanealw3.com"
|
||||
|
||||
# API router (handles /api/v1 paths)
|
||||
api-router:
|
||||
rule: "Host(`pangolin.akanealw2.com`) && PathPrefix(`/api/v1`)"
|
||||
rule: "Host(`pangolin.akanealw3.com`) && PathPrefix(`/api/v1`)"
|
||||
service: api-service
|
||||
entryPoints:
|
||||
- websecure
|
||||
@@ -38,7 +38,7 @@ http:
|
||||
|
||||
# WebSocket router
|
||||
ws-router:
|
||||
rule: "Host(`pangolin.akanealw2.com`)"
|
||||
rule: "Host(`pangolin.akanealw3.com`)"
|
||||
service: api-service
|
||||
entryPoints:
|
||||
- websecure
|
||||
|
||||
Reference in New Issue
Block a user