Opened 7 years ago

Last modified 7 years ago

#1282 new enhancement

Add nginx.repo file to RPM repos

Reported by: andvgal@… 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".

  1. Please add "nginx.repo" files to RPM repositories for convenience.
  1. Besides "$basearch" variable please also use "$releasever".
  1. 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.

Change History (1)

comment:1 by andvgal@…, 7 years ago

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.

Note: See TracTickets for help on using tickets.