/ngxjs

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

Primary LanguageDockerfileApache License 2.0Apache-2.0

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)