Add staging environment configuration for Caddy, Nginx, and Traefik with updated routing and logging settings
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -3,6 +3,8 @@ entryPoints:
|
||||
address: ":80"
|
||||
websecure:
|
||||
address: ":443"
|
||||
websecure-staging:
|
||||
address: ":4433"
|
||||
metrics:
|
||||
address: ":9100"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user