simple nginx container, setup for reverse proxy with each site as a separate, manageable file.
| Environment Variable | Key | Description |
|---|---|---|
| TZ | Europe/Brussels | timezone for ntpdate |
| Host Port | Container Port |
|---|---|
| 80 | 80 |
| 443 | 443 |
| Volume | Container path |
|---|---|
| /hostfolder/nginx/config | /nginx-conf |
| /hostfolder/nginx/html | /usr/share/nginx/html |
github repo: https://github.com/TrueOsiris/docker-nginx-reverse-proxy
dockerhub repo: https://hub.docker.com/repository/docker/trueosiris/nginx-reverse-proxy
Nginx reverse proxy
docker run \
--name nginx \
-v /hostfolder/nginx/config:/nginx-conf:rw \
-v /hostfolder/nginx/html:/usr/share/nginx/html \
-p 80:80 \
-p 443:443 \
-d trueosiris/nginx-reverse-proxy