MENU

Fun & Interesting

Adding SSL Support to Your WordPress Docker Setup!

Wazoo Web Bytes 2,618 lượt xem 11 months ago
Video Not Working? Fix It Now

Have you wanted to setup your own local SSL host for WordPress development and testing?

In this video, I'm going to show you an way to take an existing Docker configuration that we put together in another video, to add the necessary support for SSL.

👉👉 Here's where you can find mkcert: https://github.com/FiloSottile/mkcert

(It's also available on tooling like Scoop and Chocolatey)

👉👉Grab the Code on Github!
https://github.com/wazooinc/local-wordpress-development

🔗Grab My Other Products Available:
- Build Your First Web Service API Using Java Spring Boot https://wazoowebbytes.gumroad.com/l/xomqa

👋🏻Connect with me:
Twitter: https://twitter.com/eyuzwa

🔗References:
- Docker Desktop Client - https://www.docker.com/
- WordPress Download - https://wordpress.org/download/

📖I'm also going through the Bible over at @BibleTimeWithWazoo

===---=== Chapters ===---===
00:00 - Introduction
00:38 - Basic Intro to SSL
02:12 - Inspecting our local /etc/hosts file
03:11 - Updating docker-compose.yml
04:24 - Updating ./nginx/Dockerfile
05:58 - Updating ./nginx/start.sh
07:45 - Updating ./nginx/default.conf
08:46 - mkcert website
09:22 - mkcert host.docker.internal
10:44 - back to our ./nginx/default.conf
11:30 - Updating the ./nginx/Dockerfile
13:05 - Our final browser test

#wordpress #docker #nginx

Comment