laravel stuck in 403 nginx error
lightshire
PROOP

a month ago

happened out of the blue.

image.png

Solved

20 Replies

lightshire
PROOP

a month ago

Other environments are fine, its just this


a month 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

a month 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

a month ago

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


a month ago

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


lightshire
PROOP

a month ago

okay, let me be clearer as well


lightshire
PROOP

a month ago

this just happened


lightshire
PROOP

a month 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

a month ago

you were no help at all


lightshire
PROOP

a month ago

found the issue


lightshire
PROOP

a month ago

NIXPACKS_PHP_ROOT_DIR = /app/public

IS_LARAVEL = 1


lightshire
PROOP

a month ago

this was needed to be put bakc in


lightshire
PROOP

a month ago

because it looks like you guys removed this


lightshire
PROOP

a month ago

on newer instances of the server


lightshire
PROOP

a month ago

good thing AI was helping out


a month 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

a month ago

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


lightshire
PROOP

a month ago

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


a month 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.


a month ago

I'll be closing this one.


Status changed to Solved passos 30 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...