Skip to content

Commit 1064a49

Browse files
committed
removed listen 80
1 parent 0e56296 commit 1064a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ee/cli/plugins/site_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ def setupLetsEncrypt(self, ee_domain_name):
12281228
sslconf = open("/var/www/{0}/conf/nginx/ssl.conf"
12291229
.format(ee_domain_name),
12301230
encoding='utf-8', mode='w')
1231-
sslconf.write("listen 80;\nlisten 443 ssl {http2};\n".format(http2=("http2" if
1231+
sslconf.write("listen 443 ssl {http2};\n".format(http2=("http2" if
12321232
EEAptGet.is_installed(self,'nginx-mainline') else "spdy")) +
12331233
"ssl on;\n"
12341234
"ssl_certificate /etc/letsencrypt/live/{0}/fullchain.pem;\n"

0 commit comments

Comments
 (0)