This nginx container with support modules njs and Brotli, also use BoringSSL instead OpenSSL.
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.
Contains into ./examples
- add more examples
- add more tests (because nginx and all components are compiled from source code)