a year 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.
0 Replies
a year ago
can you share your repo?
Nothing special atm, but it's happened with a few projects I've tried to deploy with nginx
a year 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
a year ago
port 9000 is likely php-fpm
a year 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
a year 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
a year ago
old bookmarklet detected
a year ago
yeah a while ago
a year ago
Using subdirectory "web"
a year ago
remember when i asked if you had any service level config lol
a year ago
service settings
a year ago
proof?
a year ago
interesting
a year ago
yoink

a year ago
set NIXPACKS_PHP_ROOT_DIR=/app/web
a year ago
pog