xosadmin/docker-nginx

By xosadmin

Updated about 2 months ago

An unofficial image for Nginx web server

Image
Web Servers

610

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

Docker Pull Command

docker pull xosadmin/docker-nginx