How to install nginx 1.9.15 on amazon linux disto

前端 未结 4 758
傲寒
傲寒 2020-12-18 18:48

I try to install the latest version of nginx (>= 1.9.5) on a fresh amazon linux to make use of http2. I followed the instructions that are described here -> http://nginx.org

4条回答
  •  时光说笑
    2020-12-18 19:31

    Note, there is no 1.10 where you're looking. You can see the list here

    http://nginx.org/packages/mainline/centos/7/x86_64/RPMS/
    

    After you yum update use yum search nginx to see the different versions you have and choose a specific one:

    yum search nginx
    

    on centos 6 gives

    nginx.x86_64 : A high performance web server and reverse proxy server
    nginx16.x86_64 : A high performance web server and reverse proxy server
    nginx18.x86_64 : A high performance web server and reverse proxy server
    

    I have two versions to choose from, 1.6 and 1.8.

提交回复
热议问题