Comments (5)
Yes, that did it! The relevant rows were:
VIRTUAL_HOST: cat.com,www.cat.com,dog.com,www.dog.com,fish.com,www.fish.com
LETSENCRYPT_HOST: cat.com,www.cat.com,dog.com,www.dog.com,fish.com,www.fish.com
I'm still trying to work out one remaining kink where all http traffic isn't being redirected to https (I migrated an existing multisite WP instance over to Docker), but that's a separate problem. Thanks for the help!
It might be worth mentioning in the project docs that this is the solution for doing WP Multisite hosting.
Thanks again!
from docker-wordpress.
That second one worked perfectly, although I couldn't directly get it to work on the SSL proxied sites - too many redirect errors to actually log in. I installed it on my original site and re-migrated it to the new docker site and all is good. Thanks again for your help!
from docker-wordpress.
Thanks for your message @bhansley!
You can update the compose file with the correct multisite wp container and update the DOMAINS option in your .env
file, as of:
# Your domain (or domains)
DOMAINS=domain.com,www.domain.com,cat.com,www.cat.com,dog.org,www.dog.org,fish.edu,www.fish.edu
Please let us know if it worked!
from docker-wordpress.
Thanks, and will do! It may take a day or two, but I'll report back with my results.
from docker-wordpress.
@bhansley if you set on the .env file you will have it in the docker-compose.yml file, it might be easy.
And regarding the ssl on the wp side, I normally install a ssl plugin to get all routes with ssl enabled, please see these options:
https://wordpress.org/plugins/really-simple-ssl/
or
https://wordpress.org/plugins/ssl-insecure-content-fixer/
Hope it helps!
from docker-wordpress.
Related Issues (20)
- can not access https (nginx report 500 Internal Server Error) HOT 4
- Problems creating a second WordPress install with a shared database HOT 2
- First run of docker container and ssl certificate is shown in-secure HOT 8
- admin area not working HOT 1
- How do you backup your wordpress installs? HOT 1
- Wordpress monitoring HOT 1
- Split DB and WP service declarations into a separate docker-compose file HOT 2
- "Error establishing a database connection" while deploying the container, possible problem with passwords that have symbols HOT 1
- please upgrade wpcli with PHP 7.x HOT 1
- issue with the certificate
- SMTP settings HOT 1
- Wordpress cant curl to itself HOT 1
- Lets encrypt certificates are installed with the name of the proxy HOT 1
- Is there a way to host multiple wordpress sites using same db? Or multisite wordpress? HOT 1
- Https: Error Connection HOT 1
- ERROR: Network webproxy declared as external, but could not be found. Please create the network manually using `docker network create webproxy` and try again.
- Usage of REPLACE_ environmental variables. HOT 2
- Get rid of Apache web server in favor of nginx
- wp-config.php missing configuration HOT 4
- wordpress 6.0.2 and mysql 8.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wordpress.