| 12345678910111213141516171819202122232425262728293031323334 |
- {
- # Nginx keeps port 80 for unrelated sites; Caddy uses port 443 for TLS-ALPN validation.
- auto_https disable_redirects
- }
- https://company.citupro.com:18183 {
- encode zstd gzip
- handle_path /op/base/* {
- reverse_proxy 127.0.0.1:7654
- }
- @vanna path /api/vanna*
- handle @vanna {
- uri replace /api/vanna /api
- reverse_proxy 127.0.0.1:8084
- }
- @dags path /api/dags*
- handle @dags {
- reverse_proxy 127.0.0.1:5005
- }
- @api path /api*
- handle @api {
- reverse_proxy 127.0.0.1:5500
- }
- handle {
- root * /home/ubuntu/webside/data-ops-web
- try_files {path} /index.html
- file_server
- }
- }
|