-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Keep existing configuration files when installing nginx. Refs #886 #891
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
Conversation
|
While we do overwrite |
|
We don't want or need upstream changes. Can you describe a time when that wouldn't be the case? |
|
Currently we install |
|
They won't upgrade to 1.7.0 in a trusty release, and thats what we promote to users. If a user installs on another system, thats outside of what we can logically support and thus don't need to worry. I don't foresee us moving to 14.10 for example, or 15.04 when that comes out - just the latest LTS. |
|
I was using I think pinning the version is the right move here. It also avoids any other oddities that might come up that break any of our config assumptions. My stance is probably a little on the conservative side of the spectrum but pinning as a principle generally saves you headaches in the future and allows/forces you to be deliberate in your infrastructure changes. |
|
I don't think pinning will work unless we copy the nginx package to our deb repo. Otherwise, ubuntu can/will remove the package once they update their own version. |
|
I mean we would need to keep up-to-date within reason. Currently versions go back to 1.4.6 in the trusty repos. So I don't think we're in any danger of 1.6.2 disappearing any time soon. Besides its much easier to debug an installation issue where the nginx package can't be installed versus some weird config issue. Ya know? |
|
Gotcha, I'll update the PR to do that. Though it won't help for people updating from older versions of dokku... |
|
How do you mean it won't help? |
|
Users coming from older versions will have their nginx upgraded and that is what is causing issues. |
|
Yeah that's fair. This would cause them to run 1.6.2 with 1.4.6 config other than our stuff we overwrite. |
|
No, we update the nginx config to be what it should be, so they'd be running 1.6.2 with our approved config. |
|
There is other config that |
|
The sourcing also happens in the normal config. The reason we even overwrite the config is because of the custom file in the conf.d. New versions make that setting default :| |
|
Whats the verdict on this then? |
|
👍 |
Keep existing configuration files when installing nginx. Refs #886
No description provided.