Vite port
how to make VITE take port auto from Railway ?
Solution:Jump to solution
running caddy on railway is plenty easy
https://github.com/brody192/vite-react-template
copy the nixpacks.toml and Caddyfile from this repo into yours...
8 Replies
Project ID:
N/A
vite does not include a production ready web server, instead a solution is to use caddy
Solution
running caddy on railway is plenty easy
https://github.com/brody192/vite-react-template
copy the nixpacks.toml and Caddyfile from this repo into yours
no its a ready made project i will share the repo there
https://github.com/nomanwaseem111/video-calling-app
thats fine, that doesnt change anything
vite doesn’t include a production web server, caddy or similar is needed, i am offering you a ready-made solution with caddy
so now how i can run it
copy the two files i mentioned into your repo
great