Skip to content

Instantly share code, notes, and snippets.

@blikenoother
Last active October 11, 2020 11:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blikenoother/e8b737f818a056c4042252f3f94b1ee9 to your computer and use it in GitHub Desktop.
Save blikenoother/e8b737f818a056c4042252f3f94b1ee9 to your computer and use it in GitHub Desktop.
version: '3'
services:
nginx_gzip:
image: fholzer/nginx-brotli
container_name: nginx-gzip
ports:
- '8080:80'
volumes:
- '~/nginx_brotli_demo/nginx_gzip_conf/nginx.conf:/etc/nginx/nginx.conf:ro'
- '~/nginx_brotli_demo/html_static_files:/usr/share/nginx/html:ro'
nginx_brotli:
image: fholzer/nginx-brotli
container_name: nginx-brotli
ports:
- '8081:80'
volumes:
- '~/nginx_brotli_demo/nginx_brotli_conf/nginx.conf:/etc/nginx/nginx.conf:ro'
- '~/nginx_brotli_demo/html_static_files:/usr/share/nginx/html:ro'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment