From 8c0b8f14fb1e3919d5828fcf5bf514eef646d121 Mon Sep 17 00:00:00 2001 From: Zoey Date: Tue, 10 Oct 2023 18:19:50 +0200 Subject: [PATCH] replace xecurity headers with headers-more-nginx-module Signed-off-by: Zoey --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee7514a..1145538 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ @@ -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 \