Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 7503
bloba18dc9a4f446939c25490bfff3f1240a0cb1e1bd
1 Title: Base URL redirects preserve https protocols now
2 Level: 1
3 Component: packages
4 Class: fix
5 Compatible: compat
6 State: unknown
7 Version: 1.2.7i3
8 Date: 1435659455
10 Default redirects from /[site] and /[site]/ to /[site]/omd/ are
11 are now preserving the original requested protocol (http/https).
12 When using the apache shared mode (which is the default), having
13 the system apache service the pages via HTTPS, you will need to
14 configure the system apache to provide the X-Forwarded-Proto
15 request header to the site apache, which can be done by
16 adding the line 'RequestHeader set X-Forwarded-Proto "https"' to
17 the proxy configuration related to the site.
19 So if you want to secure your site using SSL, you will need
20 to configure the following things in the system apache:
22 a) Enable and configure HTTPS
23 b) Redirecting all HTTP requests to HTTPS
24 c) Set the request headers X-Forwarded-Proto, e.g.
26 <Location /[sitename]>
27     RequestHeader set X-Forwarded-Proto "https"
28 </Location>