laravel stuck in 403 nginx error
lightshire
PROOP

2 months ago

happened out of the blue.

image.png

Solved

20 Replies

lightshire
PROOP

2 months ago

Other environments are fine, its just this


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

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

2 months ago

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


2 months ago

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


lightshire
PROOP

2 months ago

okay, let me be clearer as well


lightshire
PROOP

2 months ago

this just happened


lightshire
PROOP

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

2 months ago

you were no help at all


lightshire
PROOP

2 months ago

found the issue


lightshire
PROOP

2 months ago

NIXPACKS_PHP_ROOT_DIR = /app/public

IS_LARAVEL = 1


lightshire
PROOP

2 months ago

this was needed to be put bakc in


lightshire
PROOP

2 months ago

because it looks like you guys removed this


lightshire
PROOP

2 months ago

on newer instances of the server


lightshire
PROOP

2 months ago

good thing AI was helping out


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

2 months ago

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


lightshire
PROOP

2 months ago

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


2 months 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.


2 months ago

I'll be closing this one.


Status changed to Solved passos 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...