mirror of
https://github.com/wekan/wekan.git
synced 2025-06-27 17:00:47 -04:00
29 lines
663 B
Caddyfile
29 lines
663 B
Caddyfile
# Caddy 2 configuration for Wekan
|
|
|
|
:8080 {
|
|
# Reverse proxy to Wekan
|
|
reverse_proxy localhost:3001 {
|
|
# Enable WebSocket support
|
|
header_up Connection {>Connection}
|
|
header_up Upgrade {>Upgrade}
|
|
}
|
|
}
|
|
|
|
# SSL/TLS example with HTTP/2 disabled for Firefox WebSocket compatibility
|
|
# Uncomment and customize for your domain
|
|
#{$DOMAIN:wekan.example.com} {
|
|
# # Enable TLS but use HTTP/1.1 protocol
|
|
# tls {
|
|
# protocols tls1.2 tls1.3
|
|
# }
|
|
# # Force HTTP/1.1
|
|
# protocols h1
|
|
#
|
|
# # Reverse proxy to Wekan
|
|
# reverse_proxy localhost:3001 {
|
|
# # Enable WebSocket support
|
|
# header_up Connection {>Connection}
|
|
# header_up Upgrade {>Upgrade}
|
|
# }
|
|
#}
|
|
#}
|