Nginx reverse proxy with automated SSL certificates

3.5kstars
280forks
Last commit: 5d ago
Repo age: 6y old
SWAG screenshot

SWAG (Secure Web Application Gateway) is a LinuxServer.io Docker image that bundles Nginx with automated TLS certificates via Let’s Encrypt. It is commonly used as a front door for multiple web apps, providing HTTPS, reverse proxying, and security-oriented defaults.

Key Features

  • Automated certificate issuance/renewal for domains and subdomains using Let’s Encrypt (Certbot)
  • Nginx reverse proxy with a large library of sample proxy configurations for common apps
  • Security-focused defaults and optional hardening snippets (headers, TLS settings, etc.)
  • Supports multiple validation methods (e.g., HTTP-01; DNS-based workflows via plugins depending on setup)
  • Optional fail2ban integration for banning abusive clients based on log patterns
  • Designed for container deployments; configuration via mounted volumes and environment variables

Use Cases

  • Put multiple self-hosted web services behind a single HTTPS endpoint with clean host-based routing
  • Quickly enable HTTPS for a homelab by reusing provided proxy templates for popular apps
  • Add a security layer (TLS, headers, basic request filtering, optional banning) in front of internal services

Limitations and Considerations

  • Nginx configuration is template/snippet-based and still requires some familiarity for custom or unusual apps
  • ACME challenges and DNS/port requirements can complicate setups behind CGNAT or restrictive networks

SWAG is a practical choice when you want an Nginx-based reverse proxy that also manages certificates automatically. Its curated proxy templates and security snippets reduce the time needed to publish and protect multiple services.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Caddy

Caddy

Modern web server with automatic HTTPS

69k
4.6k
Last commit: 1d ago

Fast, extensible web server and reverse proxy with automatic TLS certificates, simple configuration, HTTP/3 support, and production-ready observability features.

Alternative to:
NGINX Plus
NGINX Plus
+3
Traefik

Traefik

Cloud-native reverse proxy and load balancer

60.9k
5.8k
Last commit: 6d ago

Traefik is a dynamic reverse proxy and load balancer for Docker, Kubernetes, and microservices with automatic service discovery, routing, and TLS/ACME support.

Alternative to:
NGINX Plus
NGINX Plus
+3
Nginx Proxy Manager

Nginx Proxy Manager

Web UI for Nginx reverse proxy with Let's Encrypt SSL

30.9k
3.5k
Last commit: 1mo ago

Web-based reverse proxy manager for Nginx with hosts, streams, access lists, and automatic Let's Encrypt certificates via an easy admin UI.

Alternative to:
NGINX Plus
NGINX Plus
+5
SafeLine

SafeLine

Self-hosted WAF for protecting web apps and APIs

20k
1.3k
Last commit: 2mo ago

SafeLine is an open-source web application firewall (WAF) that protects web apps and APIs from common attacks using HTTP traffic inspection, rules, and management UI.

Alternative to:
Cloudflare WAF
Cloudflare WAF
+4
Pangolin

Pangolin

Self-hosted secure tunneling and access gateway

17.8k
526
Last commit: 2d ago

Pangolin provides a self-hosted access gateway for securely exposing internal apps via tunnels, with identity-aware access controls and a web UI.

Alternative to:
Cloudflare SSL/TLS and reverse proxy features
Cloudflare SSL/TLS and reverse proxy features
+3
BunkerWeb

BunkerWeb

Web application firewall and security reverse proxy

9.7k
554
Last commit: 1mo ago

Self-hosted WAF and reverse proxy built on NGINX, with a web UI, ModSecurity/OWASP rules, automatic HTTPS, and hardened defaults for securing web apps.

Alternative to:
Cloudflare WAF
Cloudflare WAF
+5