summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-10-22 11:58:38 +0200
committerSimon Rettberg2024-10-22 11:58:38 +0200
commit3fb50219e3e504d578254a85560794c239949d99 (patch)
tree8aa0e861f1064bf6aa6e23872d613169a4564e16
parent[shib_secondary] Redirect http-thrift (diff)
downloadsetup-scripts-3fb50219e3e504d578254a85560794c239949d99.tar.gz
setup-scripts-3fb50219e3e504d578254a85560794c239949d99.tar.xz
setup-scripts-3fb50219e3e504d578254a85560794c239949d99.zip
[SSPS] Handle http-thriftHEADmaster
-rw-r--r--satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf b/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf
index 4263d21..93bd873 100644
--- a/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf
+++ b/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf
@@ -36,6 +36,9 @@ include_shell "/usr/share/lighttpd/auto-ssl.sh"
$HTTP["url"] =~ "^/cow/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 9080 )) )
}
+$HTTP["url"] =~ "^/thrift/" {
+ proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 9081 )) )
+}
url.rewrite-once = (
"^/*boot/+([a-z0-9_/-]+)/+config$" => "/slx-admin/api.php?do=getconfig&type=$1",