mirror of
https://github.com/Xevion/the-office.git
synced 2026-01-31 12:26:13 -06:00
15 lines
474 B
Caddyfile
15 lines
474 B
Caddyfile
# global options
|
|
{
|
|
admin off # theres no need for the admin api in railway's environment
|
|
persist_config off # storage isn't persistent anyway
|
|
auto_https off # railway handles https for us, this could in some cases cause issues if left enabled
|
|
# runtime logs
|
|
log {
|
|
output discard # theres no need for caddy's runtime logs
|
|
}
|
|
}
|
|
|
|
# site block, listens on the $PORT environment variable, automatically assigned by railway
|
|
:{$PORT} {
|
|
reverse_proxy http://127.0.0.1:8118
|
|
} |