Skip to content

Commit 6c8556b

Browse files
committed
fixed "http2" deprecated error
1 parent c96bfeb commit 6c8556b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

proxy/templates/proxy.conf.template

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ server {
2424
}
2525

2626
server {
27-
#listen 443 ssl http2;
28-
#listen [::]:443 ipv6only=on ssl http2;
27+
#listen 443 ssl;
28+
#listen [::]:443 ipv6only=on ssl;
2929
#
3030
server_name ${NGINX_HOST} www.${NGINX_HOST};
3131
#
@@ -34,7 +34,7 @@ server {
3434
#ssl_trusted_certificate /etc/letsencrypt/live/${NGINX_HOST}/chain.pem;
3535
#ssl_dhparam /etc/letsencrypt/ssl-dhparam.pem;
3636
include /etc/letsencrypt/options-ssl-nginx.conf;
37-
#
37+
3838

3939
location / {
4040
proxy_pass http://docker_webserver;
@@ -59,8 +59,8 @@ server {
5959
#
6060
# Mitigate httpoxy attack
6161
proxy_set_header Proxy "";
62-
}
62+
}
6363
#
6464
access_log off;
65-
error_log /var/log/nginx/${NGINX_HOST}.error.log error;
65+
error_log /var/log/nginx/${NGINX_HOST}-443.error.log error;
6666
}

0 commit comments

Comments
 (0)