Skip to content

Commit

Permalink
Add headers-more module
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadqur committed Jan 29, 2025
1 parent fef7ed2 commit cf396c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ RUN dnf update -y && \
# Set working directory
WORKDIR /usr/src

RUN wget https://github.com/openresty/headers-more-nginx-module/archive/v0.38.tar.gz && \
tar xvzf v0.38.tar.gz

# Clone and install ModSecurity
RUN git clone --depth 1 -b v3/master --single-branch https://github.com/SpiderLabs/ModSecurity && \
cd ModSecurity && \
Expand All @@ -60,6 +63,7 @@ RUN NGINX_VERSION=$(nginx -v 2>&1 | cut -d '/' -f 2) && \
wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
tar zxvf nginx-${NGINX_VERSION}.tar.gz


# Clone ModSecurity-nginx connector
RUN git clone --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.git

Expand Down

0 comments on commit cf396c3

Please sign in to comment.