Coder Social home page Coder Social logo

nano-nginx's Introduction

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)

nano-nginx's People

Contributors

gitter-badger avatar zenithar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nano-nginx's Issues

nano-nginx content

Hi, I tried running nano-nginx but no success.
docker run -dit --name testnginx -p 443:443 -p 80:80 zenithar/nano-nginx

Exited (0) 3 seconds ago

no logs.

From the repo, it seems your own website conf are included, is it actually the case (I couldn't check as I couldn't run it) ?
If it is, would it make sense to create a virgin/template image and then a small tutorial in the README.md?

Add LUA support

Hello Zenithar,

Thanks a lot for your nano-nginx container ! So great and so light !
Could you please add the LUA support in order to support other tools such as Prometheus/Grafana ?

Thanks a lot.

Regards,
François.

Distroless images

Hello,

dumb little question, what about using gcr.io/distroless images for your nano-nginx ? Of course it would increase the size of the image, but it would come with a lot of security pros.

Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.