Skip to content
A php7-fpm + nginx, WP super cache friendly docker image.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nginx-config
scripts
Dockerfile
README.md

README.md

PHP7-nginx-WP-SuperCache

A php7-fpm + nginx, WP super cache friendly, SSL ready, docker image.

Usage

sudo docker build -t mynginx .
sudo docker run --name nginx -it -d -p 80:80 -p 443:443 -v /MY/WWW/DIR/:/var/www/html mynginx

SSL support with Let's Encrypt

In the previous example you can enable SSL for domain by running the following command.

sudo docker exec -it nginx /enablessl.sh example.com example@email.com

No further actions are required.

You can’t perform that action at this time.