Error while deploying project from Github.
I got deployment error maybe about the ngix server?
14 Replies
Project ID:
df04a32e-9cd1-4f0b-a04e-95a2bc46225a
You might find these helpful:
- Having trouble deploying Angular part of my project.
- How to deploy nx based angular app?
⚠️ experimental feature
df04a32e-9cd1-4f0b-a04e-95a2bc46225a
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I have a simple landing page in php, and by this morning i'm facing with the issue. Maybe it's a railway ngix servers problem
@munaf
@Amazing Parent from Brown Sea
this should be fixed now, could you try redeploying and let me know how it goes?
Tryed right now
403 forbidden
are there errors in the deploy logs?
Server starting on port 6622
2023/03/05 00:21:43 [error] 23#23: *1 directory index of "/nix/store/d8f0qq1nrmiv5lmi3lvrsgh531yxh13x-nginx-1.22.1/html/" is forbidden, client: 10.10.10.6, server: localhost, request: "GET / HTTP/1.1", host: "www.rhesus.it"
10.10.10.6 - - [05/Mar/2023:00:21:43 +0000] "GET / HTTP/1.1" 403 153 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/110.0.5481.114 Mobile/15E148 Safari/604.1"
2023/03/05 00:21:46 [error] 23#23: *1 directory index of "/nix/store/d8f0qq1nrmiv5lmi3lvrsgh531yxh13x-nginx-1.22.1/html/" is forbidden, client: 10.10.10.6, server: localhost, request: "GET / HTTP/1.1", host: "www.rhesus.it"
10.10.10.6 - - [05/Mar/2023:00:21:46 +0000] "GET / HTTP/1.1" 403 153 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/110.0.5481.114 Mobile/15E148 Safari/604.1
Well at least the service started, that's progress, can you link me your repo for this service?
What do you mean for repo? Cause it's private on GitHub
Well unfortunately it looks like PHP apps on railway aren't quite fixed yet, I know zero about PHP so the best advice I could give would be to put together your own Dockerfile for your app
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
PHP apps aren’t 100% supported by Nixpacks since none of the devs have experience with PHP. Please feel free to drop your advice here or build out a PHP workflow at the nixpacks repo