Mercurial > hg > nginx-site
diff xml/en/linux_packages.xml @ 2661:991cf4287c36
Linux packages: added repository pinning instructions for Alpine Linux.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Wed, 03 Mar 2021 17:39:49 +0300 |
parents | aea8531ede83 |
children | e4d370d43176 |
line wrap: on
line diff
--- a/xml/en/linux_packages.xml Wed Feb 17 15:02:25 2021 +0300 +++ b/xml/en/linux_packages.xml Wed Mar 03 17:39:49 2021 +0300 @@ -7,7 +7,7 @@ <article name="nginx: Linux packages" link="/en/linux_packages.html" lang="en" - rev="55"> + rev="56"> <section name="Supported distributions and versions" id="distributions"> @@ -392,7 +392,8 @@ To set up the apk repository for stable nginx packages, run the following command: <programlisting> -printf "%s%s%s\n" \ +printf "%s%s%s%s\n" \ + "@nginx " \ "http://nginx.org/packages/alpine/v" \ `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` \ "/main" \ @@ -402,7 +403,8 @@ If you would like to use mainline nginx packages, run the following command instead: <programlisting> -printf "%s%s%s\n" \ +printf "%s%s%s%s\n" \ + "@nginx " \ "http://nginx.org/packages/mainline/alpine/v" \ `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` \ "/main" \ @@ -453,7 +455,13 @@ To install nginx, run the following command: <programlisting> -sudo apk add nginx +sudo apk add nginx@nginx +</programlisting> + +The <literal>@nginx</literal> tag should also be specified when installing +packages with <link url="#dynmodules">dynamic modules</link>: +<programlisting> +sudo apk add nginx-module-image-filter@nginx nginx-module-njs@nginx </programlisting> </para>