Disabled portal's SSL & added connectivity check domain.

This commit is contained in:
Matias Barcenas 2017-12-03 21:55:54 -06:00
parent a50a95e18e
commit 39129eaa6a
1 changed files with 9 additions and 4 deletions

View File

@ -404,10 +404,10 @@ index-file.names = (
\"index.php\"
)
\$SERVER[\"socket\"] == \":443\" {
ssl.engine = \"enable\"
ssl.pemfile = \"$FLUXIONWorkspacePath/server.pem\"
}
#\$SERVER[\"socket\"] == \":443\" {
# ssl.engine = \"enable\"
# ssl.pemfile = \"$FLUXIONWorkspacePath/server.pem\"
#}
# Redirect www.domain.com to domain.com
#\$HTTP[\"host\"] =~ \"^www\.(.*)$\" {
@ -440,6 +440,11 @@ index-file.names = (
server.document-root = \"$FLUXIONWorkspacePath/captive_portal/connectivity_responses/Google/\"
url.rewrite-once = ( \"^/generate_204\$\" => \"generate_204.php\" )
}
\$HTTP[\"host\"] == \"android.clients.google.com\" { # Respond with Google's alternative captive response.
server.document-root = \"$FLUXIONWorkspacePath/captive_portal/connectivity_responses/Google/\"
url.rewrite-once = ( \"^/generate_204\$\" => \"generate_204.php\" )
}
" > "$FLUXIONWorkspacePath/lighttpd.conf"