Add nginx.repo file to RPM repos
|Reported by:||Owned by:|
There is a common approach to use *.repo files from actual repositories with "yum-config-manager --add-repo" / "dnf config-manager --add-repo" / "zypper addrepo".
- Please add "nginx.repo" files to RPM repositories for convenience.
- Besides "$basearch" variable please also use "$releasever".
- Please enable "gpgcheck" in default nginx.repo and add another "nginx-nogpg.repo" to maintain old behavior.
I've noticed previous "won't fix" for "gpgcheck=0" bug report. If another project would recommend me to install repository this way, I'd run farther than I can see. There are enough relatively secure ways to retrieve nginx key starting from HTTPS, using PGP servers, hardcoding the key, etc.