nginx

nginx

Docker app from linuxserver's Repository

Overview

Nginx(https://nginx.org/) is a simple webserver with php support. The config files reside in `/config` for easy user customization.

Runtime arguments

Web UI
http://[IP]:[PORT:80]
Network
bridge
Shell
bash
Privileged
false

Template configuration

WebUIPorttcp

http

Target
80
Default
80
Port: 443Porttcp

https

Target
443
Default
443
AppdataPathrw

Persistent config files

Target
/config
NGINX_AUTORELOADVariable

Set to `true` to enable automatic reloading of confs on change without stopping/restarting nginx. Your filesystem must support inotify. This functionality was previously offered via mod(https://github.com/linuxserver/docker-mods/tree/swag-auto-reload).

NGINX_AUTORELOAD_WATCHLISTVariable

A pipe(https://en.wikipedia.org/wiki/Vertical_bar)-separated list of additional folders for auto reload to watch in addition to `/config/nginx`

PUIDVariable

Container Variable: PUID

Default
99
PGIDVariable

Container Variable: PGID

Default
100
UMASKVariable

Container Variable: UMASK

Default
022

Download Statistics

71,363,051
Total Downloads
71,539
This Month
57,281
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
lscr.io/linuxserver/nginx
Last Updated2026-04-23
First Seen2015-12-05

Run Nginx on Unraid.

Nginx is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.