# 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 }