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

2 years ago

the title

4 Replies

amankkg
PROOP

2 years ago

MlBGpg3lQA6m_J4Z-6p6xA_1243561751


2 years ago

please share your repo


amankkg
PROOP

2 years 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


2 years ago

glad you could solve it!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...