Skip to content

Commit 93b2a56

Browse files
author
gau1991
committed
Improved logic of modification Nginx config
1 parent 8effa5c commit 93b2a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/core/nginxhashbucket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def hashbucket(self):
4949

5050
else:
5151
with open('/etc/nginx/conf.d/ee-nginx.conf', 'a') as conf:
52-
conf.write("\tserver_names_hash_bucket_size {0};\n"
52+
conf.write("server_names_hash_bucket_size {0};\n"
5353
.format(ngx_hash))
5454
else:
5555
EEFileUtils.searchreplace(self, '/etc/nginx/nginx.conf',

0 commit comments

Comments
 (0)