Caddyfile.company.citupro.com 591 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. # Nginx keeps port 80 for unrelated sites; Caddy uses port 443 for TLS-ALPN validation.
  3. auto_https disable_redirects
  4. }
  5. https://company.citupro.com:18183 {
  6. encode zstd gzip
  7. handle_path /op/base/* {
  8. reverse_proxy 127.0.0.1:7654
  9. }
  10. @vanna path /api/vanna*
  11. handle @vanna {
  12. uri replace /api/vanna /api
  13. reverse_proxy 127.0.0.1:8084
  14. }
  15. @dags path /api/dags*
  16. handle @dags {
  17. reverse_proxy 127.0.0.1:5005
  18. }
  19. @api path /api*
  20. handle @api {
  21. reverse_proxy 127.0.0.1:5500
  22. }
  23. handle {
  24. root * /home/ubuntu/webside/data-ops-web
  25. try_files {path} /index.html
  26. file_server
  27. }
  28. }