Git Product home page Git Product logo

docker-nginx-pagespeed's Introduction

docker-nginx-pagespeed

https://hub.docker.com/r/extremeshok/nginx-pagespeed

Nginx Modules

Using a custom nginx build which always follows the latest official releases : https://github.com/extremeshok/docker-nginx

Enviroment Varibles

  • NGINX_DISABLE_GEOIP=no

  • NGINX_DISABLE_PAGESPEED=no

  • NGINX_DISABLE_PHP=no

  • NGINX_PHP_FPM_HOST=phpfpm

  • NGINX_PHP_FPM_PORT=8000

  • NGINX_DOMAINS=${NGINX_DOMAINS:-$HOSTNAME}

  • NGINX_DOMAINS=www.domain.com,domain.com;my.otherdomain.net;www.randomdomain.com

  • root /var/www/${primary_hostname}/html or root /var/www/html

  • NGINX_WORDPRESS=yes

  • NGINX_WORDPRESS_SUPERCACHE=

  • NGINX_WORDPRESS_CACHE_ENABLER=

redis will take preference if both are set

  • NGINX_PAGESPEED_REDIS_HOST=no (specify host and port NGINX_PAGESPEED_REDIS_HOST="redis:6379")
  • NGINX_PAGESPEED_MEMCACHED_HOST=no
  • NGINX_PAGESPEED_CDN=no (specifiy fqdn of your cdn)
  • NGINX_PAGESPEED_FORCE_CDN=no (true to rewrite the urls to that of the cdn)

Features

  • Very small Docker image size
  • The logs of all the services are redirected to the output of the Docker container (visible with docker logs -f <container name>)
  • Custom implementation of nginx-ultimate-bad-bot-blocker with automatic updates
  • Monitor /certs for changes and reload nginx

Usage

Development / Testing

docker pull extremeshok/nginx-pagespeed:latest && docker run --rm -ti extremeshok/nginx-pagespeed:latest /bin/bash

docker-nginx-pagespeed's People

Contributors

extremeshok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

saga1015 djvdorp

docker-nginx-pagespeed's Issues

Thank you

Hey, thank you for your work! I haven't tried it yet but as far as I know, that must be the newest Nginx + pagespeed version in docker available anywhere.

I would love to have versioned tags there but the latest will do too. If I'll stumble upon any problems I'll be back with PRs.

If you'll need any assistance in anything docker-related in your projects, feel free to ping me and I'll try to help you.

Thanks again! Closing right away.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.