Fixed hash_bucket_size detection for nginx

This commit is contained in:
Gordin 2016-08-28 20:29:22 +02:00
parent 1e41641b49
commit f1ff5516d1

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)