Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 943 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 943 Bytes

nginx

This is an nginx image derived from alpine distribution.

NEW : Alpine 3.5 instead of Alpine edge

Nothing more than a basic nginx with fancyindexing module.

QuickStart

 docker run -d -v /where/lies/your/html-files:/usr/share/nginx/html \
            -v /where/lies/your/config-files/nginx.conf:/etc/nginx/nginx.conf:ro \
            -v /where/lies/your/config-files/default.conf:/etc/nginx/conf.d/default.conf:ro
            -v /etc/apache2/xmisspasswd:/etc/nginx/xmisspasswd:ro \
            freeflyer/nginx

Example compose-file.yml

  nginx:
    image: freeflyer/nginx
    volumes:
      - /where/lies/your/html-files:/usr/share/nginx/html
      - /where/lies/your/config-files/nginx.conf:/etc/nginx/nginx.conf:ro
      - /where/lies/your/config-files/default.conf:/etc/nginx/conf.d/default.conf:ro
      - /etc/apache2/xmisspasswd:/etc/nginx/xmisspasswd:ro
      - ...
    ports:
      - "80:80"