Comments (7)
Yes, they are. In this case, if you have multisite as part of docker-compose
file, simply point different domain to different wordpress instance.
With this said, I'm going to close this issue. If you have this or similar issue, please submit a new issue or re-open this one.
from containerized-wordpress-project.
I have a ToDo item for this project to extend it and add support for additional virtual hosts.
Reason why I haven't automated this yet (besides lack of time) is that, everyone's additional virtual hosts use will vary. For example, does a person want this virtual hosts file for:
- redirect of another domain to "domain" which was created during setup
- redirect another 5 domains to 5 different targets
- another domain name which will point to a particular port on host for proxy pass?
- do we want to also configure Let's Encrypt for this additional domain?
- et cetera ...
I personally have additional virtual hosts which I use, and would also benefit of implementing this feature. But at this point I just deploy it manually.
from containerized-wordpress-project.
Fair enough. I also manually implement additional virtual hosts. I have a few separate use cases. Ideally:
- Subdomains for the same TLD that use one central db container for multiple wordpress containers. Let's Encrypt for all subdomains
- Multiple TLDs with separate wordpress and db containers. Let's Encrypt for all domains.
I'm new to Ansible, but I can share as I figure out how to automate these.
from containerized-wordpress-project.
Subdomains for the same TLD that use one central db container for multiple wordpress containers. Let's Encrypt for all subdomains
Agreed, this is definitely a case scenario which most of the users would find useful. Same case is with Multiple TLDs with separate wordpress and db containers. Let's Encrypt for all domains.
.
I can do this when I have free time, but I'd definitely encourage you to try this yourself based on what I did with this role and project itself. Just see how I pass changes and how nginx configs are written, then extend it and build on top of that. I'd say to work on "1. subdomains" changes first, as it's relatively simple task.
If you manage to get anything done, please submit a Pull request which I'd be more than happy to review and pull in with master.
from containerized-wordpress-project.
Sure thing. I plan to extend when I get time.
I realized the catch-all subdomain doesn't redirect on AWS. Incorporating those Nginx blocks would be first priority.
from containerized-wordpress-project.
With latest changes, you're able to create as many subdomains as you want.
For example, as part of deployed docker-compose.yml
file simply extend it to:
DOMAINS: foolcontrol.org -> http://wordpress:80, test.foolcontrol.org -> http://wordpress:80'
This will allow you to add as many subdomains as necessary.
from containerized-wordpress-project.
That's great news. Are these subdomains multisite compatible?
from containerized-wordpress-project.
Related Issues (10)
- Roles not installed from requirements.yml HOT 1
- Error --- New Server - Ubuntu 16 HOT 1
- Debian Error
- AWS deployment HOT 1
- docker-compose-setup is missing on Ansible Galaxy HOT 1
- Support for SSL and HTTP2 HOT 4
- Add correct host key error HOT 6
- Google Cloud Platform HOT 4
- Multiple Different Domains HOT 1
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 containerized-wordpress-project.