Andrew Bogott has submitted this change and it was merged. Change subject: Added labtesthorizon config ......................................................................
Added labtesthorizon config Change-Id: I55a99272bd8a36537db8c1934b049f93a8b3f718 --- A modules/openstack/templates/kilo/horizon/labtesthorizon.wikimedia.org.erb 1 file changed, 30 insertions(+), 0 deletions(-) Approvals: Andrew Bogott: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/openstack/templates/kilo/horizon/labtesthorizon.wikimedia.org.erb b/modules/openstack/templates/kilo/horizon/labtesthorizon.wikimedia.org.erb new file mode 100644 index 0000000..9041950 --- /dev/null +++ b/modules/openstack/templates/kilo/horizon/labtesthorizon.wikimedia.org.erb @@ -0,0 +1,30 @@ +##################################################################### +### THIS FILE IS MANAGED BY PUPPET +### puppet:///openstack/horizon.wikimedia.org +##################################################################### +# vim: filetype=apache + +# This config is behind misc-web which handles ssl for us. +<VirtualHost *:80> + ServerName <%= @webserver_hostname %> + + RewriteEngine on + RewriteCond %{HTTP:X-Forwarded-Proto} !https + RewriteCond %{REQUEST_URI} !^/status$ + RewriteRule ^/(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,E=ProtoRedirect] + Header always merge Vary X-Forwarded-Proto env=ProtoRedirect + + WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi + WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 + WSGIProcessGroup horizon + Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/ + <Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + <IfVersion < 2.4> + Order allow,deny + Allow from all + </IfVersion> + </Directory> +</VirtualHost> -- To view, visit https://gerrit.wikimedia.org/r/274016 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I55a99272bd8a36537db8c1934b049f93a8b3f718 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org> Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits