Add staging environment configuration for Caddy, Nginx, and Traefik with updated routing and logging settings

This commit is contained in:
Jeppe Bundgaard
2026-03-18 10:32:41 +01:00
parent b3772293f3
commit db42f9ef95
4 changed files with 33 additions and 1 deletions
+2 -1
View File
@@ -29,7 +29,7 @@ http:
api-preflight-io:
rule: Host(`api.truckwash.io`) && Method(`OPTIONS`)
entryPoints: [websecure]
entryPoints: [websecure, websecure-staging]
middlewares: [secure-headers]
service: noop@internal
priority: 1000
@@ -80,6 +80,7 @@ http:
accessControlAllowOriginList:
- "https://truckwash.io"
- "https://api.truckwash.io"
- "https://api.truckwash.io:4433"
- "https://web.truckwash.dk"
- "https://api.truckwash.dk"
- "https://truckwash.dk"
+2
View File
@@ -3,6 +3,8 @@ entryPoints:
address: ":80"
websecure:
address: ":443"
websecure-staging:
address: ":4433"
metrics:
address: ":9100"