Closed jakobpack closed 11 months ago
You used the nginx.template.conf
file so the file name you use in your project should also be nginx.template.conf
This is not an issue with nixpacks, and if you'd like more help please open a #Help thread in the Railway discord server
In the documentation it states that nginx.config
is accepted. But renaming the file to nginx.template.conf
fixed the issue.
correct both files are accepted, but they are differences between them, for example the template file is passed through perl to replace the PORT variable with railways auto generated PORT
Gotcha, thank you for your help.
Is there an existing issue for this?
Describe the bug
When using the template config file (
src/providers/php/nginx.template.conf
) in my project asnginx.conf
, I get the error:nginx: [emerg] directive "include" is not terminated by ";" in /app/nginx.conf:11
when deploying my app.
Is this a problem with my Railway configuration?
To reproduce
src/providers/php/nginx.template.conf
nginx.conf
on project root directory with copied contentExpected behavior
No response
Environment
Nixpack ?.? (don't know how to find out)