Skip to content

Commit ed46623

Browse files
authored
Nginx update Version LTS and Modsecurity Latest version (#59)
* Update backend image to Ubuntu 24.04 in docker-compose and Dockerfile
1 parent 3b4cf19 commit ed46623

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929

3030
# Backend API Service
3131
backend:
32-
image: vouu/nginx-waf-backend:ubuntu-based-latest
32+
image: vouu/nginx-waf-backend:ubuntu2404
3333
restart: unless-stopped
3434
container_name: nginx-love-backend
3535
network_mode: host

docker/Dockerfile.backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN cd apps/api && pnpm prisma:generate
2727
RUN pnpm --filter @nginx-love/api build
2828

2929
# Production stage
30-
FROM vouu/nginx-modsecurity-base
30+
FROM vouu/nginx-modsecurity-base:ubuntu2404
3131

3232
RUN apt-get update && apt-get install -y curl ca-certificates gnupg && \
3333
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \

docker/Dockerfile.base.nginx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22
WORKDIR /app
33

44
ENV container=docker

scripts/install-nginx-modsecurity.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
set -e
1010

1111
# Configuration
12-
NGINX_VERSION="1.24.0"
13-
MODSECURITY_VERSION="3.0.12"
14-
MODSECURITY_NGINX_VERSION="1.0.3"
12+
NGINX_VERSION="1.28.0"
13+
MODSECURITY_VERSION="3.0.14"
14+
MODSECURITY_NGINX_VERSION="1.0.4"
1515
INSTALL_LOG="/var/log/nginx-modsecurity-install.log"
1616
INSTALL_STATUS_FILE="/var/run/nginx-modsecurity-install.status"
1717
NGINX_CONFIG_DIR="/etc/nginx"

0 commit comments

Comments
 (0)