Vite + React deploy returns 502 (used brody192 template)
amankkg
PROOP

a year ago

the title

4 Replies

amankkg
PROOP

a year ago

MlBGpg3lQA6mJ4Z-6p6xA1243561751


a year ago

please share your repo


amankkg
PROOP

a year ago

we fixed the deployment with the following files

iirc we set the port to 8080 in Caddyfile and added railway.toml as otherwise Railway wouldn't read nixpacks.toml

I assume there was something off in environment settings, or maybe I chose the wrong template when added new app in Railway

1308859760615100456
1308859760988389449
1308859761441378364


a year ago

glad you could solve it!


Loading...