GithubHelp home page GithubHelp logo

Comments (5)

bhansley avatar bhansley commented on May 25, 2024 1

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.

bhansley avatar bhansley commented on May 25, 2024 1

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.

evertramos avatar evertramos commented on May 25, 2024

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.

bhansley avatar bhansley commented on May 25, 2024

Thanks, and will do! It may take a day or two, but I'll report back with my results.

from docker-wordpress.

evertramos avatar evertramos commented on May 25, 2024

@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)

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.