feat(gate-b): Gate B mask + BDFT + length axis (#21–#23) #31
+8
-10
@@ -1,18 +1,16 @@
|
||||
slab.local {
|
||||
tls /data/certs/slab.crt /data/certs/slab.key
|
||||
# Interim HTTP-only Caddy config for Gate B UAT.
|
||||
# Serves frontend + API over plain HTTP on all hostnames/IPs.
|
||||
# No TLS, no HTTPS redirect. Phone CA trust is not required.
|
||||
#
|
||||
# Post-POC: restore slab.local with proper TLS and ACME.
|
||||
|
||||
:80 {
|
||||
handle /api/* {
|
||||
reverse_proxy fastapi:8000 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
reverse_proxy fastapi:8000
|
||||
}
|
||||
handle {
|
||||
reverse_proxy frontend:80 {
|
||||
header_up X-Real-IP {remote_host}
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,10 +41,8 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "0.0.0.0:80:80"
|
||||
- "0.0.0.0:443:443"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./certs:/data/certs:ro
|
||||
depends_on:
|
||||
- frontend
|
||||
- fastapi
|
||||
|
||||
Reference in New Issue
Block a user