doberdog / nano-nginx

Nano container with nginx preconfigured as reverse proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nano NGiNX

This image contains :

Dockerfile used to build image.

The server try to find the setting file nginx.conf in /etc/nginx folder, you can use default installation settings from your distro, the only thing you have to do is to mount the settings folder in the docker container.

$ docker run --rm --name nginx -v /srv/http:/www -v /var/log/nginx:/var/log/nginx -v /etc/nginx:/etc/nginx -p 80:80 -p 8443:443 zenithar/nano-nginx:latest

Volumes :

  • /www : defaut document root for files to serve
  • /var/log/nginx: for nginx logs
  • /etc/nginx: for nginx settings

Tools

  • Brotli encoder (/bin/bro)
  • Luajit console (/bin/luajit)

About

Nano container with nginx preconfigured as reverse proxy