/nginx

Primary LanguageShell

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