Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/184441

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/41/184441/1

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: newchange
Gerrit-Change-Id: I91aa8d763ee7006c7ca44f2ed3cf90bf378cc03a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to