Add Railway deployment for web UI

This commit is contained in:
2026-06-29 20:33:17 -05:00
parent 11eb1d54d6
commit d9d997d912
4 changed files with 62 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
auto_https off
}
:{$PORT} {
root * /srv
handle /api/* {
reverse_proxy {$URAPT_SERVER_URL} {
header_up Host {upstream_hostport}
}
}
handle /apt/* {
reverse_proxy {$URAPT_SERVER_URL} {
header_up Host {upstream_hostport}
}
}
handle {
try_files {path} /index.html
file_server
}
}