a year ago
The nginx file that can be found at the beginning of this page: https://nixpacks.com/docs/providers/php doesn't work properly. It gives me a lot of errors regarding for example environment variables.
I just wanted to provide my own error pages for error 404, 403 and 500, and I just wanted to locate the index in /Pages/index.php
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
Status changed to Solved railway[bot] • 11 months ago
a year ago
Naming it nginx.template.conf, it gives me this error and then crashes:Starting Container
[server:info] Server starting on port 65090
nginx: [emerg] no "events" section in configuration
container event container died
a year ago
My bad, now it works, I weren't adding the events section