Dzahn has submitted this change and it was merged.
Change subject: planet: load mod_headers
......................................................................
planet: load mod_headers
We need to have mod_headers to be able to:
Header always merge Vary X-Forwarded-Proto
and vary on X-Forwarded-Proto when behind misc-web.
We already load this from the Bugzilla role on the same server
but making sure this role stays independent and could be moved.
Change-Id: I91aa8d763ee7006c7ca44f2ed3cf90bf378cc03a
---
M modules/planet/manifests/webserver.pp
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/modules/planet/manifests/webserver.pp
b/modules/planet/manifests/webserver.pp
index 99d561d..1a89845 100644
--- a/modules/planet/manifests/webserver.pp
+++ b/modules/planet/manifests/webserver.pp
@@ -7,6 +7,8 @@
# TODO to be replaced with new method in the future
class { 'webserver::php5': ssl => true; }
include ::apache::mod::rewrite
+ # so we can vary on X-Forwarded-Proto when behind misc-web
+ include ::apache::mod::headers
# we do this because NameVirtualHost *:443 isn't there by default
file { '/etc/apache2/ports.conf':
--
To view, visit https://gerrit.wikimedia.org/r/184441
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I91aa8d763ee7006c7ca44f2ed3cf90bf378cc03a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits