elct9620 / nginx-pagespeed

A docker image include nginx with pagespeed.
2 stars 3 forks source link

Nginx Pagespeed

Docker image include Nginx and Pagespeed module.

Roadmap

Usage

The new version provide options to customize Nginx config.

Host static files

docker run -v $(pwd)/www:/var/www/html elct9620/nginx-pagespeed

Run with customize config

docker run --env='SERVER_NAME=example.com' elct9620/nginx-pagespeed

Options

To generate customize config file, just add environment variable when run. Below is current supported options.

Default

FastCGI

PageSpeed

Cache

Extension

This image also provide some extra config to fast setup some popular Framework/CMS.