How to hide .php extension on Railway?

^
5 Replies
Percy
Percy12mo ago
Project ID: N/A
Croissant
Croissant12mo ago
N/A
Brody
Brody12mo ago
this would be something you'd have to configure through nginx I don't know how to do it myself, but I'm sure there's lot of resources out there on how you could achieve this you would just need to place this file in your project, and make the necessary changes to it https://github.com/railwayapp/nixpacks/blob/main/src/providers/php/nginx.template.conf
Croissant
Croissant12mo ago
So this is the template of php for nixpacks?
Brody
Brody12mo ago
that is the nginx config template nixpacks uses for php