nginx1.15.2 安裝,代理http2配置

  • gcc 安裝
    yum install gcc-c++ -y
  • PCRE pcre-devel 安裝
    yum install -y pcre pcre-devel -y
  • zlib 安裝
    yum install -y zlib zlib-devel -y
  • OpenSSL 安裝
    yum install -y openssl openssl-devel -y
  • 下載
  • wget -c https://nginx.org/download/nginx-1.15.2.tar.gz
  • 解壓
    tar -zxvf nginx-1.15.2.tar.gz
    cd nginx-1.15.2
  • http2配置
    ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_v2_module --with-http_sub_module --with-http_stub_status_module
    make & make install

admin agent安裝
https://raw.githubusercontent.com/jslsolucoes/nginx-admin/master/nginx-admin-docker/release/nginx-admin-agent/red-hat/build/install.sh

需要注意的是 agent service 方式啓動可能有問題 nohup後臺啓動沒問題

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章