Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

dmgnx/docker-nginx-naxsi

Repository files navigation

Docker Stars Docker Pulls Docker Automated buil

Supported tags and respective Dockerfile links

How to use this image

$ docker run --name nginx-naxsi -p 80:80 \
    -v $(pwd):/usr/share/nginx/html -d dmgnx/nginx-naxsi

This will start a nginx service with default configuration, serving current working directory as your website.

Volumes

  • /etc/nginx/conf.d : virtual hosts configuration
  • /etc/nginx/naxsi : your Naxsi rules
  • /etc/nginx/ssl : SSL certificates
  • /usr/share/nginx/html : web root directory
  • /var/log/nginx : log storage (redirected to the standard outputs by default)