Skip to content

Commit

Permalink
replace xecurity headers with headers-more-nginx-module
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Oct 10, 2023
1 parent 928e057 commit 8c0b8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN wget https://nginx.org/download/nginx-"$NGINX_VER".tar.gz -O - | tar xzC /sr
# modules
git clone --recursive https://github.com/google/ngx_brotli /src/ngx_brotli && \
git clone --recursive https://github.com/aperezdc/ngx-fancyindex /src/ngx-fancyindex && \
git clone --recursive https://github.com/GetPageSpeed/ngx_security_headers /src/ngx_security_headers && \
git clone --recursive https://github.com/openresty/headers-more-nginx-module /src/headers-more-nginx-module && \
# git clone --recursive https://github.com/nginx-modules/ngx_http_limit_traffic_ratefilter_module /src/ngx_http_limit_traffic_ratefilter_module && \
git clone --recursive https://github.com/nginx/njs /src/njs && \
git clone --recursive https://github.com/vision5/ngx_devel_kit /src/ngx_devel_kit && \
Expand Down Expand Up @@ -74,7 +74,7 @@ RUN wget https://nginx.org/download/nginx-"$NGINX_VER".tar.gz -O - | tar xzC /sr
--with-http_auth_request_module \
--add-module=/src/ngx_brotli \
--add-module=/src/ngx-fancyindex \
--add-module=/src/ngx_security_headers \
--add-module=/src/headers-more-nginx-module \
# --add-module=/src/ngx_http_limit_traffic_ratefilter_module \
--add-module=/src/njs/nginx \
--add-module=/src/ngx_devel_kit \
Expand Down

0 comments on commit 8c0b8f1

Please sign in to comment.