Nginx reverse proxy with automated TLS certificates and fail2ban

3.7k stars 277 forks last commit first released GPL-3.0

Actively maintained

Last commit 25 Jul 2026.

SWAG screenshot

SWAG (Secure Web Application Gateway) is a LinuxServer.io-maintained container image that provides an Nginx web server and reverse proxy with automated TLS certificate issuance and renewal via an embedded ACME client. It is commonly used as a front door for self-hosted applications, handling HTTPS termination and reusable proxy configurations.

Key Features

  • Nginx web server and reverse proxy for routing multiple apps behind one domain
  • Automated certificate issuance and renewal using Certbot (ACME) with Let’s Encrypt or ZeroSSL
  • Supports HTTP and DNS-based validation, including wildcard certificates (via DNS plugins)
  • Includes preset reverse proxy configuration templates for many popular services
  • Optional PHP support for serving dynamic web content
  • Built-in fail2ban for intrusion prevention (with optional firewall rule integration)

Use Cases

  • Expose multiple self-hosted services securely over HTTPS with subdomains
  • Terminate TLS centrally and share generated certificates with other containers
  • Host a small web site or landing page alongside reverse-proxied applications

Limitations and Considerations

  • Certificate issuance depends on correct inbound port forwarding (HTTP validation) or supported DNS provider credentials (DNS validation)
  • Some Certbot DNS plugins may require additional packages/mods if not included in the base image

SWAG is a practical choice when you want a repeatable, containerized Nginx reverse proxy setup with integrated ACME automation and extra security tooling. It fits especially well in Docker-based homelabs that rely on subdomains and standardized proxy templates.

Categories:

Tags:

Tech Stack:

Share:

Similar to SWAG

Nginx Proxy Manager logo

Nginx Proxy Manager

Web UI to manage Nginx reverse proxy hosts and SSL certificates

33.7k
3.8k
Last commit

Nginx Proxy Manager is a web-based admin panel for managing Nginx reverse proxy hosts, redirects, streams, and Let’s Encrypt SSL certificates via Docker.

MITActively maintained
Alternative to:
NGINX Management Suite logo
NGINX Management Suite
+6

GoDoxy

Reverse proxy and container orchestrator for self-hosters

3.5k
150
Last commit

High-performance reverse proxy and container orchestrator with Web UI, automatic Docker/Podman route discovery, idle-sleep, access control, and automated Let's Encrypt support.

Actively maintained
Alternative to:
Cloudflare Tunnel logo
Cloudflare Tunnel
+19
Wiredoor logo

Wiredoor

Ingress-as-a-service to expose private services via WireGuard and NGINX

1.6k
76
Last commit

Self-hosted ingress platform that exposes internal HTTP/TCP services to the internet through reverse WireGuard tunnels, with NGINX routing and automatic TLS certificates.

Apache-2.0Actively maintained
Alternative to:
ngrok logo
ngrok
+13
Nginx UI logo

Nginx UI

Web UI for managing Nginx configurations, certificates, and logs

11.3k
849
Last commit

Self-hosted web interface to manage Nginx configs, reload safely, issue Let’s Encrypt certificates, view logs, monitor server stats, and manage multiple nodes.

AGPL-3.0Actively maintained
Alternative to:
NGINX Management Suite logo
NGINX Management Suite
+4
NetGoat logo

NetGoat

Self-hostable reverse proxy and traffic manager with WAF features

888
47
Last commit

NetGoat is a self-hostable reverse proxy and traffic management platform offering Cloudflare-like features such as TLS termination, rate limiting, WAF-style filtering, and dashboards.

AGPL-3.0Actively maintained
Alternative to:
Cloudflare logo
Cloudflare
+11
Self-Hosted Gateway logo

Self-Hosted Gateway

Docker-native reverse proxy over WireGuard to expose local services

1.7k
87
Last commit

Automates Reverse Proxy-over-VPN (RPoVPN) using WireGuard, Caddy and NGINX to expose Docker Compose services to the public Internet with automated TLS.

AGPL-3.0Slowing down
Alternative to:
Cloudflare Tunnel logo
Cloudflare Tunnel
+3