# Nginx

Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server. It is open source and self-hosted, installable on Kubernetes (Helm), Docker Hub, ZimaOS and Unraid.

Canonical page: https://ourlocalhost.com/app/368/nginx

## Description

Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server. It fronts and routes traffic for self-hosted apps, caches content, and balances load across backend services. It's a popular choice for homelabbers and sysadmins who want a fast, lightweight, and scalable web server and reverse proxy.

## Platform availability

Available on 3 of 9 platforms: Unraid, ZimaOS, Helm.

## Health score

76/100 (Good), based on 4 of 4 factors.
- Maintained: 100 (last commit 23 days ago)
- Popular: 44 (161 GitHub stars)
- Easy to install: 55 (3 install platforms, install notes, Docker image)
- Light to run: 95 (512 MB minimum RAM, runs on ARM)

## Links

- Documentation: https://nginx.org/en/docs/
- Kubernetes (Helm): https://artifacthub.io/packages/helm/bitnami/nginx
- Docker Hub: https://hub.docker.com/r/linuxserver/nginx
- ZimaOS: https://github.com/bigbeartechworld/big-bear-casaos/tree/master/Apps/nginx
- Unraid: https://ca.unraid.net/apps/nginx-1fbkgpg01850o0?q=nginx
- Official website: https://nginx.org/
- GitHub: https://github.com/linuxserver/docker-nginx

## Common questions

### Where should web files be placed in the LinuxServer.io Nginx container?

Add your web files to /config/www for hosting.

### What configuration is needed when running an unprivileged Nginx container with a read-only filesystem?

Set nginx temporary-path settings to point to /tmp. Without them, nginx may fail with read-only or permission errors when writing temporary request files.

### What can I do if Nginx stops responding with no errors and was not launched as a service?

Stop it with nginx -s stop and then start it again with nginx.

## Alternatives

- Apache HTTP Server: Open-source HTTP server offering cross-platform support, modular architecture, secure configuration, robust content delivery, and extensive…
- BunkerWeb: BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Caddy: Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and r…
- Haproxy: HAProxy is a TCP proxy and a HTTP reverse proxy.
- Microsoft IIS: Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
- Træfik Proxy: The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
- Varnish: Varnish is an open-source HyperText Transfer Protocol (HTTP) accelerator for website operators that serves cached pages from memory in fron…
- nginx-ui

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