linuxserver/docker-swag

Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 49 seconds ago
Added to GitGenius on September 18th, 2026
Created on August 3rd, 2020
Open Issues & Pull Requests: 10 (+0)
GitHub issues: Enabled
Number of forks: 276
Total Stargazers: 3,727 (+1)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.8 hours
Mean response time: 8.7 days
90th percentile: 30.6 days
Tracked items: 95

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Work labelled "enhancement" is answered fastest, typically in under an hour, while "closed-issue-activity" waits about 12 days. Three people close 59% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 698 days
Stale 30+ days: 6
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • no-issue-activity (45)
  • enhancement (28)
  • closed-issue-activity (27)
  • invalid (5)
  • awaiting-approval (4)
  • work-in-progress (3)
  • bug (2)
  • upstream issue (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

SWAG is a Docker container that bundles Nginx as a webserver and reverse proxy with PHP support, automated SSL certificate management via Certbot, and fail2ban for intrusion prevention.

The tool solves the problem of setting up secure web infrastructure by combining several components into a single container image. It automates SSL certificate generation and renewal through integration with Let's Encrypt and ZeroSSL, eliminating manual certificate management. The reverse proxy capability allows routing traffic to backend services while the built-in fail2ban provides protection against brute-force attacks and other intrusion attempts. The container uses the s6 overlay for process supervision and includes user mapping features to align container permissions with host systems.

SWAG suits developers and operators who need a self-hosted reverse proxy with automatic HTTPS support and want to avoid managing multiple separate services. It works well for home lab setups, small to medium deployments, and environments where containerized infrastructure is already in use. The project is particularly valuable for those seeking a lightweight alternative to more complex API gateway solutions, though it is positioned as a general-purpose reverse proxy rather than a specialized alternative to any particular tool.

The LinuxServer.io team maintains regular and timely application updates alongside weekly base OS updates that are shared across their container ecosystem to minimize bandwidth and downtime. Security updates are applied regularly to address vulnerabilities. The project benefits from community engagement through multiple channels including Discord for real-time support, a Discourse forum for discussion, and an Open Collective funding model that accepts contributions.