-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update compile #382
base: master
Are you sure you want to change the base?
Update compile #382
Conversation
Update compile, in order to build a custom servers.conf.erb file installed in the project directory.
Hello @docteuri, First, thanks a lot for your PR and effort. In this case, we think it would be better for you to rely on a multi-buildpack (https://doc.scalingo.com/platform/deployment/buildpacks/multi) with a
This would allow you to do what you want (and more). See our documentation for further details about the Nginx buildpack: https://doc.scalingo.com/platform/deployment/buildpacks/nginx The PHP buildpack embeds a few things (like a basic Nginx setup) for convenience, but we can't put too much logic in here. That would duplicate the effort and be redundant with the Nginx buildpack. I hope you understand :) Thanks again! |
Bonjour.
|
ça ne fonctionne pas. Il faudrait corriger le compile de nginx pour qu'il s'impose lors du copy si le dossier est déjà rempli. |
Bonjour, |
Update compile, in order to build a custom servers.conf.erb file installed in the project directory.
It allow the user to add a pass parameter like
"nginx-http-includes": ["conf/servers.conf"],
And it allows the user to put a servers.conf.erb file in the conf folder in order to compile the listen variable : <%= ENV['PORT'] %>