# SWAG

SWAG is a self-hosted home automation app. SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx webserver and reverse proxy with php support and a built-in certbot client that automates free SSL... It is open source and self-hosted, installable on Docker Hub, ZimaOS and Unraid.

Canonical page: https://ourlocalhost.com/app/3869/swag

## Description

SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx webserver and reverse proxy with php support and a built-in certbot client that automates free SSL server certificate generation and renewal processes (Let's Encrypt and ZeroSSL). It also contains fail2ban for intrusion prevention.

## Platform availability

Available on 2 of 6 install platforms: Unraid, ZimaOS.

## Health score

15/100 (Low), based on 2 of 4 factors.
- Maintained: 0 (GitHub repository no longer exists)
- Easy to install: 45 (2 install platforms, install notes, Docker image)

## Links

- Documentation: https://docs.linuxserver.io/
- Docker Hub: https://hub.docker.com/r/linuxserver/swag
- ZimaOS: https://github.com/bigbeartechworld/big-bear-casaos/tree/master/Apps/swag
- Unraid: https://ca.unraid.net/apps/swag-0hspce416xcb2w?q=swag
- Official website: https://linuxserver.io
- GitHub: https://github.com/linuxserver/docker-swag

## Common questions

### What do you change in a SWAG proxy conf when using a subdomain other than the preset one?

Change the server name in the proxy conf to match the subdomain you want to use.

### What port or DNS-related issue can appear when running SWAG on a local network?

You may run into conflicts involving ports 443 and 444, especially with split DNS or dnsmasq, and you need to account for multiple subdomains.

### Why is SWAG often suggested to people new to reverse proxies?

It includes certbot and the needed config files, which is useful for first-time reverse proxy setups.

### How are LinuxServer images updated?

They are automatically rebuilt when upstream applications or application dependencies are updated.

---
Source: Our Local Host (https://ourlocalhost.com/app/3869/swag), the self-hosted and open-source app directory.
