Skip to content

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

License

Notifications You must be signed in to change notification settings

moeryomenko/ngxjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)