59 lines
1.1 KiB
Caddyfile
59 lines
1.1 KiB
Caddyfile
{
|
|
servers {
|
|
protocols h1 h2
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|