Add support for wordpress network-mode#67
Open
graphiclunarkid wants to merge 5 commits intomasterfrom
Open
Conversation
Wordpress network-mode allows multiple separate blogs to be served from the same instance of the software. These can be served as separate subdirectories or separate subdomains. With the latter option, a plugin is included to allow separate apex domains to be mapped to each subdomain. Wordpress.com is the largest example of wordpress running in network mode. This branch also: - Makes configurable the domain and subdirectory from which wordpress is served - Refactors the wordpress role - Includes defaults for all optional parameters - Includes handlers to ensure these are run when the role is executed in isolation - Updates the role documentation to explain the new options - Updates wordpress to v4.4.2 Resolves #66
kheops2713
suggested changes
Sep 28, 2016
Contributor
kheops2713
left a comment
There was a problem hiding this comment.
- nginx vhost file is redundant with nignx role vhost file ("websites" variable)
- other actions are redundant with "websites" variable, like creating domain directories
- add meta/main.yml file to autoinclude nginx and php-fpm role
- try re-adding "alias" nginx directive for wordpress subdomain configuration where location is '/'
- make sure PHP is called for all domains serving a wordpress site, in case of a multisite with several domain names, by copying the nginx included configuration location / into every domain's configuration path
- remove handlers redundant with nginx role
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wordpress network-mode allows multiple separate blogs to be served from
the same instance of the software. These can be served as separate
subdirectories or separate subdomains. With the latter option, a plugin
is included to allow separate apex domains to be mapped to each
subdomain.
Wordpress.com is the largest example of wordpress running in network
mode.
This branch also:
isolation
Resolves #66