Files
linkpulse/frontend/Caddyfile.development

19 lines
331 B
Caddyfile

{
admin off # theres no need for the admin api in railway's environment
auto_https off # railway handles https for us, this would cause issues if left enabled
}
http://localhost:8080 {
respond /health 200
encode {
zstd fastest
gzip 3
}
handle /api/* {
reverse_proxy localhost:8000
}
reverse_proxy localhost:5173
}