/docker-nginx-reverse-proxy

Nginx reverse proxy + letsencrypt with wildcards & godaddy dns

Primary LanguageDockerfile

trueosiris/nginx-reverse-proxy

simple nginx container, setup for reverse proxy with each site as a separate, manageable file.

Trueosiris Rules Docker Pulls Docker Stars Docker Image Size Github stars Github forks Github issues Github last-commit

environment variables

Environment Variable Key Description
TZ Europe/Brussels timezone for ntpdate

ports

Host Port Container Port
80 80
443 443

volumes

Volume Container path
/hostfolder/nginx/config /nginx-conf
/hostfolder/nginx/html /usr/share/nginx/html

links

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