Fixup hacky login session system, add separate development Caddyfile for CORS cookie issue

This commit is contained in:
2024-11-10 23:40:00 -06:00
parent 9990bcab02
commit f14285b252
8 changed files with 76 additions and 15 deletions

View File

@@ -0,0 +1,18 @@
{
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
}