diff options
author | Simon Rettberg | 2017-05-05 11:03:55 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-05 11:03:55 +0200 |
commit | 2c974fae9d9e70a09c3a19388a850efd6521191f (patch) | |
tree | 797b1aefac8e81b693fff2da9d65dfc71ed13349 /satellit_installer | |
parent | [SSPS] Update slxadmin config template (diff) | |
download | setup-scripts-2c974fae9d9e70a09c3a19388a850efd6521191f.tar.gz setup-scripts-2c974fae9d9e70a09c3a19388a850efd6521191f.tar.xz setup-scripts-2c974fae9d9e70a09c3a19388a850efd6521191f.zip |
[SSPS] lighttpd ssl: Set redirect code to 302
Diffstat (limited to 'satellit_installer')
-rwxr-xr-x | satellit_installer/static_files/lighttpd-auto-ssl.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_installer/static_files/lighttpd-auto-ssl.sh b/satellit_installer/static_files/lighttpd-auto-ssl.sh index 54f1cce..32bbee1 100755 --- a/satellit_installer/static_files/lighttpd-auto-ssl.sh +++ b/satellit_installer/static_files/lighttpd-auto-ssl.sh @@ -46,6 +46,7 @@ $HTTP["scheme"] == "http" { # must be the most inner block to the redirect rule $HTTP["host"] =~ ".*" { url.redirect = ( "^/slx-admin/($|\?|index.php).*" => "https://%0$0" ) + url.redirect-code = 302 } } HEREDOC |