1. The problem I’m having:
i deployed front and back on the railway
now, backend(React App) is correctly called. however, frontend(https://oieho.xyz) isn’t correctly called
2. Error messages and/or full log output:
it hasn’t error message on the console but not working correctly
3. Caddy version: CADDY_VERSION = ‘2.7.4’
4. How I installed and ran Caddy:
I installed caddy on the railway.app, it contains Caddyfile on the react root folder.
a. System environment:
railway cloud.
b. Command:
I added Caddyfile to below scripts
oieho.xyz { route { reverse_proxy /api/* https://portfolio-v2-backend-production.up.railway.app try_files {path} /index.html file_server } }
now, To show presently deployed project status, visit http://oieho.xyz
if you refer to my dns settings. just click below it.
thank you for your interesting. so I prey for reply.