laravel stuck in 403 nginx error
lightshire
PROOP

22 days ago

happened out of the blue.

image.png

Solved

20 Replies

lightshire
PROOP

22 days ago

Other environments are fine, its just this


22 days ago

Railway does not use Nginx so that's an issue coming from your application.

From the logs, I can see a bunch of missing configuration issues.


lightshire
PROOP

22 days ago

this has been put in,

and again ALL OTHER environments are good. with the same change same everything

only this, this is the only one that had this issue.


lightshire
PROOP

22 days ago

i tried all other environments, for the same code, of the same app for the same env and everything is good


22 days ago

I would look into things that differ between the two environments such as domains.


lightshire
PROOP

22 days ago

okay, let me be clearer as well


lightshire
PROOP

22 days ago

this just happened


lightshire
PROOP

22 days ago

after the deployment - and it was okay nothing was changed, no code was changed, no domain was changed that could have caused this


lightshire
PROOP

22 days ago

you were no help at all


lightshire
PROOP

22 days ago

found the issue


lightshire
PROOP

22 days ago

NIXPACKSPHPROOTDIR = /app/public ISLARAVEL = 1


lightshire
PROOP

22 days ago

this was needed to be put bakc in


lightshire
PROOP

22 days ago

because it looks like you guys removed this


lightshire
PROOP

22 days ago

on newer instances of the server


lightshire
PROOP

22 days ago

good thing AI was helping out


22 days ago

Pretty sure Railway did not remove that, you can go to your activity tab to see what changed or on audit logs. Also, you are using Nixpacks which is currently deprecated, I recommend moving to Railpack by going to your service settings.

image.png

Attachments


lightshire
PROOP

22 days ago

im pretty sure you did, because its not in any of ours and we didnt touch it


lightshire
PROOP

22 days ago

this is the worst aftercare service with paying atleast 2000 usd per month


22 days ago

Just to confirm, I'm not part of the Railway team but merely a community member 🙂 . If you require direct assistance from the team, please visit station.railway.com and open a private help thread.


22 days ago

I'll be closing this one.


Status changed to Solved passos 22 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...