Removed the "listen ... http2" directive is deprecated, use the "http2" directive instead warning

This commit is contained in:
2025-01-17 18:56:13 +01:00
parent 6b54c0fcf9
commit 991046eaeb
3 changed files with 9 additions and 6 deletions

View File

@@ -3,8 +3,9 @@ server {
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
# For the federation port
listen 8448 ssl http2 default_server;
listen [::]:8448 ssl http2 default_server;
listen 8448 ssl default_server;
listen [::]:8448 ssl default_server;
http2 on;
{% if nginx_matomo_tracking | bool %}
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}