Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:

# Backend API Service
backend:
image: vouu/nginx-waf-backend:ubuntu-based-latest
image: vouu/nginx-waf-backend:ubuntu2404
restart: unless-stopped
container_name: nginx-love-backend
network_mode: host
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN cd apps/api && pnpm prisma:generate
RUN pnpm --filter @nginx-love/api build

# Production stage
FROM vouu/nginx-modsecurity-base
FROM vouu/nginx-modsecurity-base:ubuntu2404

RUN apt-get update && apt-get install -y curl ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.base.nginx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:24.04
WORKDIR /app

ENV container=docker
Expand Down
6 changes: 3 additions & 3 deletions scripts/install-nginx-modsecurity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
set -e

# Configuration
NGINX_VERSION="1.24.0"
MODSECURITY_VERSION="3.0.12"
MODSECURITY_NGINX_VERSION="1.0.3"
NGINX_VERSION="1.28.0"
MODSECURITY_VERSION="3.0.14"
MODSECURITY_NGINX_VERSION="1.0.4"
INSTALL_LOG="/var/log/nginx-modsecurity-install.log"
INSTALL_STATUS_FILE="/var/run/nginx-modsecurity-install.status"
NGINX_CONFIG_DIR="/etc/nginx"
Expand Down