SSL#1
Open
mosamlife wants to merge 185 commits into
Open
Conversation
The backend server will always receive an unencrypted request from Varnish. We need to use the `X-Forwarded-Proto` header to set the value of the `HTTPS` server variable. This will let php-fpm know if the request used https or not.
Prevents issues where debops.nginx doesn't detect the default server.
This prevents nginx gateway errors if Varnish goes offline for some reason. In those situations, the Varnish upstream will failover to the WordPress backend automatically.
Added the flag to allow insecure connections. Otherwise, the cron job wouldn't work for insecure connections like self-signed certificates.
This will let us handle more complex configuration logic outside of Ansible tasks. We'll start by just putting the global parameters for URL and path there.
The host header of the Varnish probe wasn't the same as the URL of the WordPress site. This means that WordPress could be confused by the request. This happened during multisite testing where the site would return a 302 redirect instead of a 200 response.
…ator Fixed typo in README.
Replaced weird character (C2) with space.
Reworked wordpress defaults.
Fixes #155
Composer was complaining if the PHP extension and the unzip executable weren't installed
…create a default one
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.
SSL Support