|
@ -49,7 +49,7 @@ def hashbucket(self): |
|
|
|
|
|
|
|
|
else: |
|
|
else: |
|
|
with open('/etc/nginx/conf.d/ee-nginx.conf', 'a') as conf: |
|
|
with open('/etc/nginx/conf.d/ee-nginx.conf', 'a') as conf: |
|
|
conf.write("\tserver_names_hash_bucket_size {0};\n" |
|
|
conf.write("server_names_hash_bucket_size {0};\n" |
|
|
.format(ngx_hash)) |
|
|
.format(ngx_hash)) |
|
|
else: |
|
|
else: |
|
|
EEFileUtils.searchreplace(self, '/etc/nginx/nginx.conf', |
|
|
EEFileUtils.searchreplace(self, '/etc/nginx/nginx.conf', |
|
|