mirror of
https://github.com/Xevion/linkpulse.git
synced 2025-12-05 23:15:26 -06:00
19 lines
331 B
Caddyfile
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
|
|
}
|