Disabled portal's SSL & added connectivity check domain.
This commit is contained in:
parent
a50a95e18e
commit
39129eaa6a
|
@ -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"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue