diff options
-rw-r--r-- | satellit_installer/static_files/lighttpd/etc/lighttpd/lighttpd.conf | 5 |
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", |