RPM minor upgrade should not replace nginx.conf with default
|Reported by:||Arne Kepp||Owned by:|
|uname -a:||Linux someserver.somewhere 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux|
nginx version: nginx/1.4.4
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
TLS SNI support enabled
I am using the prebuilt RPMs from http://nginx.org/packages/centos/
Every time I upgrade Nginx I have to remember to manually fix the configuration files, otherwise my system is put in a state where Nginx can't start due to port conflicts.
I think, for minor version upgrades and bugfixes, the RPM should not replace the configuration files but instead created .rpmnew files.
This should be easy to change: