Caddyfile 663 B

1234567891011121314151617181920212223242526272829
  1. # Caddy 2 configuration for Wekan
  2. :8080 {
  3. # Reverse proxy to Wekan
  4. reverse_proxy localhost:3001 {
  5. # Enable WebSocket support
  6. header_up Connection {>Connection}
  7. header_up Upgrade {>Upgrade}
  8. }
  9. }
  10. # SSL/TLS example with HTTP/2 disabled for Firefox WebSocket compatibility
  11. # Uncomment and customize for your domain
  12. #{$DOMAIN:wekan.example.com} {
  13. # # Enable TLS but use HTTP/1.1 protocol
  14. # tls {
  15. # protocols tls1.2 tls1.3
  16. # }
  17. # # Force HTTP/1.1
  18. # protocols h1
  19. #
  20. # # Reverse proxy to Wekan
  21. # reverse_proxy localhost:3001 {
  22. # # Enable WebSocket support
  23. # header_up Connection {>Connection}
  24. # header_up Upgrade {>Upgrade}
  25. # }
  26. #}
  27. #}