SWAG
Nginx reverse proxy with automated SSL certificates

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:
Similar Services

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

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

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

SafeLine
Self-hosted WAF for protecting web apps and APIs
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.


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


BunkerWeb
Web application firewall and security reverse proxy
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.

Linux
Bash
Dockerfile