2025-06-26 05:39:37 +03:00
|
|
|
# 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}
|
|
|
|
}
|
2017-11-04 19:23:28 +00:00
|
|
|
}
|
2018-09-11 00:43:27 +03:00
|
|
|
|
2025-06-26 05:39:37 +03:00
|
|
|
# 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
|
2018-09-11 00:43:27 +03:00
|
|
|
# tls {
|
2025-06-26 05:39:37 +03:00
|
|
|
# protocols tls1.2 tls1.3
|
2018-09-11 00:43:27 +03:00
|
|
|
# }
|
2025-06-26 05:39:37 +03:00
|
|
|
# # 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}
|
2018-09-11 00:43:27 +03:00
|
|
|
# }
|
|
|
|
#}
|
2025-06-26 05:39:37 +03:00
|
|
|
#}
|