Added standard captive portal redirect code.

This commit is contained in:
Matias Barcenas 2017-12-24 17:41:16 -06:00
parent f2e2e76158
commit 98ebe0a266
1 changed files with 1 additions and 0 deletions

View File

@ -511,6 +511,7 @@ index-file.names = (
echo "\
# Redirect all traffic to the captive portal when not emulating a connection.
\$HTTP[\"host\"] != \"captive.gateway.lan\" {
url.redirect-code = 302
url.redirect = (
\"^/(.*)\" => \"http://captive.gateway.lan/\",
)