Files
hoerdle/Caddyfile
Hördle Bot f2c64281dd refactor: clean up Caddyfile by removing audio streaming headers and related configurations
- Eliminate unnecessary headers and caching settings for audio streaming
- Streamline the configuration for better readability and maintainability
- Maintain timeout settings for large files
2025-12-01 16:01:20 +01:00

61 lines
1.5 KiB
Caddyfile

# Caddy-Konfiguration für Hördle
# Root-Domains: hoerdle.de und hördle.de (xn--hrdle-jua.de)
# Hinweis: Diese Konfiguration funktioniert nur für Root-Domains, nicht für Subdomains
# Für Subdomains wären Wildcard-Zertifikate mit DNS-01 Challenge nötig
# Domain 1: hoerdle.de (ASCII)
hoerdle.de {
# TLS mit automatischer HTTP-01 Challenge (funktioniert nur für Root-Domain)
# Caddy verwendet automatisch Let's Encrypt
# Upload-Limit: 50MB (wie in nginx.conf.example)
request_body {
max_size 50MB
}
# Reverse Proxy zu hoerdle Container
reverse_proxy hoerdle:3010 {
# HTTP/1.1 für WebSocket Support
transport http {
versions 1.1
}
# Timeouts für große Dateien (300s wie in nginx)
timeout 300s
}
# HTTP zu HTTPS Redirect
@http {
protocol http
}
redir @http https://{host}{uri} permanent
}
# Domain 2: hördle.de (Punycode: xn--hrdle-jua.de)
xn--hrdle-jua.de {
# TLS mit automatischer HTTP-01 Challenge (funktioniert nur für Root-Domain)
# Caddy verwendet automatisch Let's Encrypt
# Upload-Limit: 50MB
request_body {
max_size 50MB
}
# Reverse Proxy zu hoerdle Container
reverse_proxy hoerdle:3010 {
# HTTP/1.1 für WebSocket Support
transport http {
versions 1.1
}
# Timeouts für große Dateien (300s)
timeout 300s
}
# HTTP zu HTTPS Redirect
@http {
protocol http
}
redir @http https://{host}{uri} permanent
}