Merge pull request #3463 from Gordin/master

Fixed hash_bucket_size detection for nginx
This commit is contained in:
Peter Eckersley
2016-09-09 17:44:52 -07:00
committed by GitHub
+1 -1
View File
@@ -101,7 +101,7 @@ class NginxTlsSni01(common.TLSSNI01):
if key == ['http']:
found_bucket = False
for k, _ in body:
if k == bucket_directive[0]:
if k == bucket_directive[1]:
found_bucket = True
if not found_bucket:
body.insert(0, bucket_directive)