Skip to content

A demonstration of dockerizing a SPA web application with nginx and Google's brotli compression

Notifications You must be signed in to change notification settings

phetw/nginx-brotli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nginx + brotli + docker

Dockerizing a SPA web application with nginx and Google's brotli compression with gzip fallback for brotli incompatible browsers.

Build

docker build --rm -f "Dockerfile" -t nginx-brotli-docker:latest .

Run

docker run --rm -d -p 443:443/tcp -p 80:80/tcp nginx-brotli-docker:latest

Result

localhost:80

About

A demonstration of dockerizing a SPA web application with nginx and Google's brotli compression

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published