selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

nginx-love logo

Self-host nginx-love

v4.01

Nginx WAF management with ModSecurity and bot detection

ReleaseOpen SourceApache-2.0
Updated10 months ago
LanguageTypescript
Setup difficultyModerate
Stars
312
RAM
2 GB
Storage
10 GB
Ports
8080 (Admin UI + /api reverse proxy), 80 (WAF / customer domains (HTTP)), 443 (WAF / customer domains (HTTPS))
Requires
Docker
Install with Docker Compose
nginx-love screenshot 1nginx-love screenshot 2nginx-love screenshot 3nginx-love screenshot 4nginx-love screenshot 5

What is nginx-love?

Nginx Love is a self-hosted platform for managing Nginx reverse proxies with integrated ModSecurity WAF and a web-based control panel. It handles domain configuration with upstream health checks, automates Let's Encrypt SSL certificates, and provides JA4 fingerprint-based bot detection. Access control lists support IP, GeoIP, and User-Agent filtering. The system includes performance monitoring with email and Telegram alerts, role-based access control with admin, moderator, and viewer roles, and backup with multi-node synchronization. Deployment uses Docker Compose with three containers — a frontend on port 8080, a backend combining the API with Nginx, ModSecurity, and JA4 on ports 80 and 443, and PostgreSQL 15 — plus a legacy VM option for host-native setups. The default login is admin/admin123, which must be changed on first access. The project is licensed under Apache-2.0.

Should you self-host nginx-love?

nginx-love scores 50/100 on selfhost.directory (how scoring works) and ranks #3 of 3 in Web Application Firewall. It has 312 GitHub stars.

It shipped 1 stable release in the past year. The latest, v4.01, came out on 31 October 2025.

Setup is moderate: expect some configuration beyond a single command. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is SafeLine (81/100, 23 065 stars). It scores higher overall, so compare the two before you pick. See nginx-love vs SafeLine side by side.

Features

  • ACL & access lists
  • Backup & cluster
  • Bot Manager (JA4)
  • Domain Management
  • Load Balancing
  • ModSecurity WAF
  • Monitoring & alerts
  • Multi-node sync
  • Multi-user RBAC
  • REST API
  • SSL Certificates
  • Two-factor authentication
  • Web UI

nginx-love README

How to install nginx-love

Install nginx-love with Docker Compose

Environment variables
DB_PASSWORD, JWT_ACCESS_SECRET, JWT_REFRESH_SECRET, SESSION_SECRET, WEB_PORT=8080

git clone https://github.com/TinyActive/nginx-love.git cd nginx-love bash scripts/install-docker.sh

Recommended for new servers; builds base image (~15 min first run)

nginx-love releases & version history

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…