Skip to content

Commit ce28e40

Browse files
committed
Replace deprecated listen http2
1 parent 3c2796f commit ce28e40

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gateway/http.d/apicast.conf.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ server {
7878
{% endif %}
7979

8080
{% if https_port -%}
81-
listen {{ https_port }} ssl http2 {% if https_proxy_protocol %}proxy_protocol{% endif %};
81+
listen {{ https_port }} ssl {% if https_proxy_protocol %}proxy_protocol{% endif %};
82+
http2 on;
8283

8384
ssl_protocols TLSv1.2 TLSv1.3;
8485
{%- assign https_certificate = env.APICAST_HTTPS_CERTIFICATE -%}

0 commit comments

Comments
 (0)