Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 691 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 691 Bytes

ngxjs

This nginx container with support modules njs and Brotli, also use BoringSSL instead OpenSSL.

Usage

In your Dockerfile just use in FROM directive and COPY your assets to /usr/share/nginx/html folder. Also you can change default nginx.conf just replace by COPY your config to /etc/nginx/nginx.conf.

FROM moeryomenko/ngxjs:latest

COPY assets /usr/share/nginx/html

COPY nginx.conf /etc/nginx/nginx.conf


EXPOSE 80

ENTRYPOINT [ "nginx", "-g", "daemon off" ]

For more information see examples.

Examples

Contains into ./examples

TODO

  • add more examples
  • add more tests (because nginx and all components are compiled from source code)