Opened 7 years ago
Last modified 7 years ago
#1282 new enhancement
Add nginx.repo file to RPM repos
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-package | Version: | |
Keywords: | Cc: | ||
uname -a: | |||
nginx -V: | any |
Description
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.
Note:
See TracTickets
for help on using tickets.
Regarding '$releasever' and RHEL 7Server/7Client issues reported previously, you can also setup either symlinks or even "location" with regex to do that true nginx way.