summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/etc/httpd.conf.tpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index e4d7b84..32d80e7 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -161,14 +161,15 @@ server "<%= $prefix %>ecat.buetow.org" {
}
<% } -%>
-# Fallback for f3s hosts
+# Fallback for f3s hosts - serve fallback page for ALL paths
<% for my $host (@$f3s_hosts) { for my $prefix (@prefixes) { -%>
server "<%= $prefix.$host %>" {
listen on * port 8080
log style forwarded
location * {
+ # Rewrite all requests to /index.html to show fallback page regardless of path
+ request rewrite "/index.html"
root "/htdocs/f3s_fallback"
- directory auto index
}
}
<% } } -%>