62 lines
1.3 KiB
Caddyfile
62 lines
1.3 KiB
Caddyfile
{
|
|
servers {
|
|
# A client HTTP/2 connection retained queued response bytes after Caddy
|
|
# completed schema-metadata. Serve the Smilegate PoC over HTTP/1.1 until
|
|
# that client-side flow-control path is proven stable.
|
|
protocols h1
|
|
}
|
|
}
|
|
|
|
http://193.122.114.213 {
|
|
encode zstd gzip
|
|
header {
|
|
X-Content-Type-Options nosniff
|
|
Referrer-Policy strict-origin-when-cross-origin
|
|
}
|
|
log {
|
|
output file /var/log/caddy/smilegate-console-access.log
|
|
format console
|
|
}
|
|
reverse_proxy 127.0.0.1:8622 {
|
|
transport http {
|
|
versions 1.1
|
|
}
|
|
}
|
|
}
|
|
|
|
smilegate.cloud-handson.com {
|
|
encode zstd gzip
|
|
header {
|
|
X-Content-Type-Options nosniff
|
|
Referrer-Policy strict-origin-when-cross-origin
|
|
}
|
|
log {
|
|
output file /var/log/caddy/smilegate-console-access.log
|
|
format console
|
|
}
|
|
reverse_proxy 127.0.0.1:8622 {
|
|
transport http {
|
|
versions 1.1
|
|
}
|
|
}
|
|
}
|
|
|
|
smilegate-backoffice.cloud-handson.com {
|
|
# Edge clients have left completed zstd-compressed HTML navigations pending.
|
|
# Use broadly supported gzip on the management UI; the console keeps zstd.
|
|
encode gzip
|
|
header {
|
|
X-Content-Type-Options nosniff
|
|
Referrer-Policy strict-origin-when-cross-origin
|
|
}
|
|
log {
|
|
output file /var/log/caddy/smilegate-backoffice-access.log
|
|
format console
|
|
}
|
|
reverse_proxy 127.0.0.1:8082 {
|
|
transport http {
|
|
versions 1.1
|
|
}
|
|
}
|
|
}
|