Sign inSign up

ball6847/nginx-pagespeed

By ball6847

•Updated over 9 years ago

nginx pagespeed and http2 on debian image

Image
0

953

ball6847/nginx-pagespeed repository overview

⁠Nginx Pagespeed

My customize Nginx build with Google Pagespeed Module, this inspired from laurisvan/docker-pagespeed⁠ and official nginx image.

⁠Usage

⁠Hosting static content
docker run --name ngx-pagespeed -v $(pwd)/www:/etc/nginx/html:ro -d elct9620/nginx-pagespeed
⁠Add customize configure
docker run --name ngx-pagespeed -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf:ro -d elct9620/nginx-pagespeed

Make sure include daemon off; in your configure, it lets docker can track the process properly.

⁠Expose port

To let container can be access, you need to add expose options.

docker run --name ngx-pagespeed -p 8080:80 -d elct9620/nginx-pagespeed

⁠Logs

The access.log and error.log are export to stdout and stderr, if you change log file location, please make sure the log can be track by yourself.

Tag summary

Content type

Image

Digest

Size

164.9 MB

Last updated

over 9 years ago

docker pull ball6847/nginx-pagespeed