Skip to content
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

Let user override site.conf #46

Open
johnsudaar opened this issue Sep 24, 2018 · 4 comments
Open

Let user override site.conf #46

johnsudaar opened this issue Sep 24, 2018 · 4 comments

Comments

@johnsudaar
Copy link

For some advanced usage, we might want to override the default site.conf file. (i.e: to change the fastcgi_read_timeout).

A nice solution would be to support extra.paas.nginx_override_site_conf option that will replace our site.conf with the one the user provider us.

@EtienneM
Copy link
Member

Isn't it what .extra.paas.nginx-includes allows?

@johnsudaar
Copy link
Author

No because nginx-include will be included IN the site.conf (base.conf.erb in the file). However sometime we want to change the default configuration that is made in this base.conf.erb file.

@johnsudaar johnsudaar reopened this Jan 12, 2022
@EtienneM
Copy link
Member

To make sure I understand what you mean, you want to let the user customize this line:

https://github.com/Scalingo/php-buildpack/blob/8ecae1a66dbaa9dfb127db716ad40f2965f6727c/conf/nginx/base.conf.erb

Is that it?

@johnsudaar
Copy link
Author

This entire file yes not a specific line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants