made changes for testing

This commit is contained in:
2025-05-10 13:00:37 -05:00
parent 484187a3c7
commit 2f2b9a2fbc
4 changed files with 18 additions and 16 deletions

View File

@@ -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