Sign inSign up

xosadmin/docker-nginx

By xosadmin

Updated over 1 year ago

An unofficial image for Nginx web server

Image
Web servers
0

3.2K

xosadmin/docker-nginx repository overview

docker-nginx

An unofficial container image for Nginx web server

Usage
  • Create a new container by DockerHub: docker run -d -p 80:80 -p 443:443 xosadmin/docker-nginx
Note
  • This image includes a default website configuration default
  • If you wish to use default for your website, you can use -v /path/to/website:/var/www/html to map your website
  • -v /path/to/custom-config:/etc/nginx/sites-enabled is available for custom server config and multi-sites
  • This image only includes Nginx. If you wish to use PHP with Nginx, please use the image https://github.com/xosadmin/docker-php-nginx

Tag summary

Content type

Image

Digest

sha256:1ff010ce7

Size

47 MB

Last updated

over 1 year ago

docker pull xosadmin/docker-nginx