Sign inSign up

kebyn/nginx

By kebyn

•Updated almost 6 years ago

Map the local directory using Nginx

Image
0

273

kebyn/nginx repository overview

Github All Releases GitHub tag

⁠Map the local directory using Nginx
⁠no web authentication
docker run -d -p 80:80 -v /list:/opt/ kebyn/nginx
  -p [local port]:80
  -v [local directory]:/opt
⁠web authentication
docker run -d  -e "username=xxx" -e "password=xxx" -p 80:80 -v /tmp/:/opt kebyn/nginx
  -e [web user/password] 
  -p [local port]:80
  -v [local directory]:/opt

Tag summary

Content type

Image

Digest

Size

11.6 MB

Last updated

almost 6 years ago

docker pull kebyn/nginx