summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-05 11:03:55 +0200
committerSimon Rettberg2017-05-05 11:03:55 +0200
commit2c974fae9d9e70a09c3a19388a850efd6521191f (patch)
tree797b1aefac8e81b693fff2da9d65dfc71ed13349 /satellit_installer
parent[SSPS] Update slxadmin config template (diff)
downloadsetup-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-xsatellit_installer/static_files/lighttpd-auto-ssl.sh1
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