Просмотр исходного кода

disable unifi cptive portal for now

Maximilian Ronniger 7 лет назад
Родитель
Сommit
bf19e71b43
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      haproxy/haproxy.cfg

+ 12 - 12
haproxy/haproxy.cfg

@@ -93,18 +93,18 @@ backend be_web02_8443
   option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
   server web02 192.168.122.19:8443 check inter 5000 weight 0 ssl verify none
 
-# captive portal
-backend be_web02_8880
-  acl allowed_url path,url_dec -m beg -i /guest/s/
-  http-request deny if !allowed_url
-  option httpchk GET /guest/s/default/ HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
-  server web02 192.168.122.19:8880 check inter 5000
-#server localhost localhost:9002 check
-#http://192.168.122.19:8880/guest/s/mwandnqf/
-
-backend be_web02_8843
-  option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
-  server web02 192.168.122.19:8843 check inter 5000
+## captive portal
+#backend be_web02_8880
+#  acl allowed_url path,url_dec -m beg -i /guest/s/
+#  http-request deny if !allowed_url
+#  option httpchk GET /guest/s/default/ HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
+#  server web02 192.168.122.19:8880 check inter 5000
+##server localhost localhost:9002 check
+##http://192.168.122.19:8880/guest/s/mwandnqf/
+#
+#backend be_web02_8843
+#  option httpchk GET / HTTP/1.1\r\nHost:\ localhost\r\nUser-Agent:\ HAProxy
+#  server web02 192.168.122.19:8843 check inter 5000
 
 # Domain Validation for lets encrypt
 backend be_domain_validation