Fixed URLs (#9902)

This commit is contained in:
Slaviša Arežina
2025-12-12 14:21:15 +01:00
committed by GitHub
parent ec433b3abc
commit e27a68275b

View File

@ -62,7 +62,7 @@ server:
secret: "$SECRET_KEY" secret: "$SECRET_KEY"
gerbil: gerbil:
base_endpoint: "$pango_url" base_endpoint: "${pango_url#https://}"
flags: flags:
require_email_verification: false require_email_verification: false
@ -130,7 +130,7 @@ http:
routers: routers:
# HTTP to HTTPS redirect router # HTTP to HTTPS redirect router
main-app-router-redirect: main-app-router-redirect:
rule: "Host(\`$pango_url\`)" rule: "Host(\`${pango_url#https://}\`)"
service: next-service service: next-service
entryPoints: entryPoints:
- web - web
@ -139,7 +139,7 @@ http:
# Next.js router (handles everything except API and WebSocket paths) # Next.js router (handles everything except API and WebSocket paths)
next-router: next-router:
rule: "Host(\`$pango_url\`) && !PathPrefix(\`/api/v1\`)" rule: "Host(\`${pango_url#https://}\`) && !PathPrefix(\`/api/v1\`)"
service: next-service service: next-service
entryPoints: entryPoints:
- websecure - websecure
@ -148,7 +148,7 @@ http:
# API router (handles /api/v1 paths) # API router (handles /api/v1 paths)
api-router: api-router:
rule: "Host(\`$pango_url\`) && PathPrefix(\`/api/v1\`)" rule: "Host(\`${pango_url#https://}\`) && PathPrefix(\`/api/v1\`)"
service: api-service service: api-service
entryPoints: entryPoints:
- websecure - websecure
@ -157,7 +157,7 @@ http:
# WebSocket router # WebSocket router
ws-router: ws-router:
rule: "Host(\`$pango_url\`)" rule: "Host(\`${pango_url#https://}\`)"
service: api-service service: api-service
entryPoints: entryPoints:
- websecure - websecure