summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-08-12 15:39:26 +0200
committerSimon Rettberg2024-08-12 15:39:26 +0200
commit1d780dbb9553cc95c5606d8abc66c6f42414c785 (patch)
tree3dca4542a4581847f45b2824d096d388db0695ec
parent[SSPS] Add missing SHIB constants to slx-admin config (diff)
downloadsetup-scripts-1d780dbb9553cc95c5606d8abc66c6f42414c785.tar.gz
setup-scripts-1d780dbb9553cc95c5606d8abc66c6f42414c785.tar.xz
setup-scripts-1d780dbb9553cc95c5606d8abc66c6f42414c785.zip
[SSPS] Update lighttpd.conf
-rw-r--r--satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf b/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf
index 83859b7..4263d21 100644
--- a/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf
+++ b/satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf
@@ -4,7 +4,7 @@ server.modules = (
"mod_deflate",
"mod_redirect",
"mod_rewrite",
-# "mod_proxy",
+ "mod_proxy",
)
#
server.document-root = "/srv/openslx/www"
@@ -33,7 +33,6 @@ include "/etc/lighttpd/conf-enabled/*.conf"
# Check if server.pem exists, if so output configuration block for HTTPS
include_shell "/usr/share/lighttpd/auto-ssl.sh"
-# Fow CoW editing
$HTTP["url"] =~ "^/cow/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 9080 )) )
}
@@ -47,7 +46,7 @@ url.rewrite-once = (
"^/*boot/+ipxe\?(.*)$" => "/slx-admin/api.php?$1&do=serversetup",
"^/*vmchooser/+list[^?]*$" => "/slx-admin/api.php?do=dozmod&resource=list",
"^/*vmchooser/+list[^?]*\?(.*)$" => "/slx-admin/api.php?$1&do=dozmod&resource=list",
- "^/*vmchooser/+lecture/+([^/]+)/+([^/]+)$" => "/slx-admin/api.php?do=dozmod&resource=$2&lecture=$1",
+ "^/*vmchooser/+lecture/+([^/]+)/+([^/?]+)$" => "/slx-admin/api.php?do=dozmod&resource=$2&lecture=$1",
"^/*vmchooser/+lecture/+([^/]+)/+([^/]+)\?(.+)$" => "/slx-admin/api.php?do=dozmod&resource=$2&lecture=$1&$3",
"^/*vmchooser/+([^/]+)$" => "/slx-admin/api.php?do=news&type=$1",
"^/panel/([^?]{36})$" => "/slx-admin/?do=locationinfo&show=panel&uuid=$1",