13 lines
336 B
Caddyfile
13 lines
336 B
Caddyfile
# Reverse Proxy mit automatischem HTTPS (Let's Encrypt). Domain kommt aus der Umgebungsvariable DOMAIN.
|
|
{$DOMAIN} {
|
|
encode zstd gzip
|
|
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
|
-Server
|
|
}
|
|
|
|
# WebSockets (SignalR) werden automatisch durchgereicht.
|
|
reverse_proxy web:8080
|
|
}
|