Update server.py

This commit is contained in:
Namhyeon Go 2024-02-18 08:27:23 +09:00 committed by GitHub
parent 46d77e8562
commit 1397510fb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,7 +143,7 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
filtered = False
# prevent cache confusing
if data.find(b'Welcome to nginx') > -1:
if data.find(b'<title>Welcome to nginx!</title>') > -1:
return True
# allowed conditions