Awesome Open Source
Awesome Open Source

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)

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Docker (33,942
Dockerfile (28,289
Nginx (5,197
Docker Image (4,827
Openssl (595
Luajit (344
Brotli (149
Related Projects