2 years ago
Project Link: https://railway.app/project/7ea7fbfa-fd31-463b-a6a9-aeede9da76dc
When deployed with the new builder, nginx returns a 403 with the following error in the console:2024/07/13 06:42:35 [error] 33#33: *1 directory index of "/app/" is forbidden, client: 100.64.0.2, server: localhost, request: "GET / HTTP/1.1", host: "sdcoredev-production.up.railway.app"
When not using the new builder, it detects the /web directly properly and deploys without issue.
33 Replies
2 years ago
can you share your repo?
Nothing special atm, but it's happened with a few projects I've tried to deploy with nginx
2 years ago
I'm surprised this even worked on the legacy builder
It also detects port 9000 when trying to generate a domain even tho it starts with port 8080
2 years ago
port 9000 is likely php-fpm
2 years ago
do you have any kind of service level config?
Other than generating a domain I don't change anything from the defaults
V2 runtime and w/ the new builder
2 years ago
build logs for a build done with legacy and build logs for a build done with the new builder please -
old builder
new builder
2 years ago
old bookmarklet detected
2 years ago
yeah a while ago
2 years ago
Using subdirectory "web"
2 years ago
remember when i asked if you had any service level config lol
2 years ago
service settings
2 years ago
proof?
2 years ago
interesting
2 years ago
yoink

2 years ago
set NIXPACKS_PHP_ROOT_DIR=/app/web
2 years ago
pog