a13m / openshift-zabbix-cartridge

Zabbix server cartridge
Other
5 stars 4 forks source link

suggestion: redirect http to https #9

Open Boran opened 10 years ago

Boran commented 10 years ago

I might be an idea to ensure the Webui is always access via https to protect passwords.

Add the following to zabbix/php/.htaccess RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Perhaps add it to the cartridge by default?