You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2021/09/09 21:07:06 UTC

[GitHub] [incubator-pagespeed-ngx] ReyKoxha commented on issue #1688: with quiche nginx not work

ReyKoxha commented on issue #1688:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1688#issuecomment-916436792


   None of the provided links answers the question.
   However, I just compiled NGINX-QUIC with PageSpeed and Brotli.
   
   `
   # Needed only once
   apt-get install build-essential zlib1g-dev libpcre3 libpcre3-dev libssl-dev libxslt1-dev libgd-dev libgeoip-dev uuid-dev git cmake ninja-build golang libunwind-dev
   
   # Google PageSpeed
   NPS_VERSION=1.14.33.1-RC1
   cd
   wget https://github.com/apache/incubator-pagespeed-ngx/archive/v${NPS_VERSION}.zip
   unzip v${NPS_VERSION}.zip
   nps_dir=$(find . -name "*pagespeed-ngx-${NPS_VERSION}" -type d)
   cd "$nps_dir"
   NPS_RELEASE_NUMBER=${NPS_VERSION/beta/}
   NPS_RELEASE_NUMBER=${NPS_VERSION/stable/}
   psol_url=https://dl.google.com/dl/page-speed/psol/${NPS_RELEASE_NUMBER}.tar.gz
   [ -e scripts/format_binary_url.sh ] && psol_url=$(scripts/format_binary_url.sh PSOL_BINARY_URL)
   wget ${psol_url}
   tar -xzvf $(basename ${psol_url})  # extracts to psol/
   
   # BoringSSL
   cd
   git clone https://boringssl.googlesource.com/boringssl boringssl
   cd boringssl
   mkdir build
   cd build
   cmake -DCMAKE_BUILD_TYPE=Release -GNinja ../
   ninja
   
   # Brotli
   cd
   git clone https://github.com/google/ngx_brotli.git ngx_brotli
   
   # NGINX Quic Branch
   cd
   hg clone -b quic https://hg.nginx.org/nginx-quic
   cd /root/ngx_brotli && git submodule update --init && cd /root/nginx-quic
   cd nginx-quic
   CFLAGS="-Wno-ignored-qualifiers" ./auto/configure --prefix=/usr/local/nginx \
   --sbin-path=/usr/sbin/nginx \
   --add-module=$HOME/$nps_dir ${PS_NGX_EXTRA_FLAGS} \
   --add-module=/root/ngx_brotli \
   --conf-path=/etc/nginx/nginx.conf \
   --error-log-path=/var/log/nginx/error.log \
   --http-log-path=/var/log/nginx/access.log \
   --pid-path=/var/run/nginx.pid \
   --lock-path=/var/run/lock/subsys/nginx \
   --with-stream \
   --with-threads \
   --with-file-aio \
   --with-stream_ssl_preread_module \
   --with-http_secure_link_module \
   --with-http_ssl_module \
   --with-http_v2_module \
   --with-http_v3_module \
   --with-http_quic_module \
   --with-stream_quic_module \
   --with-cc-opt="-I/root/boringssl/include $(CFLAGS)"   \
   --with-ld-opt="-L/root/boringssl/build/ssl  \
   -L/root/boringssl/build/crypto $(LDFLAGS)" \
   --with-http_stub_status_module \
   --with-http_gzip_static_module \
   --without-mail_pop3_module \
   --without-mail_imap_module \
   --without-mail_smtp_module
   make
   make install
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org