Skip to content

Commit 849171b

Browse files
committed
fixed "http2" deprecated error
1 parent 0eb3f04 commit 849171b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webserver/templates/nginx.conf.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ server {
1919
}
2020

2121
server {
22-
#listen 443 ssl http2;
23-
#listen [::]:443 ipv6only=on ssl http2;
22+
#listen 443 ssl;
23+
#listen [::]:443 ipv6only=on ssl;
2424
#
2525
server_name ${NGINX_HOST} www.${NGINX_HOST};
2626
#
2727
#ssl_certificate /etc/letsencrypt/live/${NGINX_HOST}/fullchain.pem;
2828
#ssl_certificate_key /etc/letsencrypt/live/${NGINX_HOST}/privkey.pem;
2929
#ssl_trusted_certificate /etc/letsencrypt/live/${NGINX_HOST}/chain.pem;
3030
#ssl_dhparam /etc/letsencrypt/ssl-dhparam.pem;
31-
include /etc/letsencrypt/options-ssl-nginx.conf;
31+
include /etc/letsencrypt/options-ssl-nginx.conf;
3232

3333
root /var/www/html;
3434
index index.php;
@@ -64,5 +64,5 @@ server {
6464
}
6565
#
6666
access_log off;
67-
error_log /var/log/nginx/${NGINX_HOST}.error.log error;
67+
error_log /var/log/nginx/${NGINX_HOST}-443.error.log error;
6868
}

0 commit comments

Comments
 (0)