From 96ea89eadc07332b3b566e2d44464f2cb072edda Mon Sep 17 00:00:00 2001 From: Stefan Wieczorek Date: Mon, 27 Oct 2025 15:38:24 +0530 Subject: [PATCH] . --- v2-varnish/Drupal/Drupal 11 | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/v2-varnish/Drupal/Drupal 11 b/v2-varnish/Drupal/Drupal 11 index 83a7a45..9c8db24 100755 --- a/v2-varnish/Drupal/Drupal 11 +++ b/v2-varnish/Drupal/Drupal 11 @@ -2,12 +2,8 @@ server { listen 80; listen [::]:80; - listen 443 quic; - listen 443 ssl; - listen [::]:443 quic; - listen [::]:443 ssl; - http2 on; - http3 off; + listen 443 ssl http2; + listen [::]:443 ssl http2; {{ssl_certificate_key}} {{ssl_certificate}} {{server_name}} @@ -17,7 +13,7 @@ server { {{nginx_error_log}} if ($scheme != "https") { - rewrite ^ https://$host$request_uri permanent; + rewrite ^ https://$host$uri permanent; } location ~ /.well-known { @@ -33,8 +29,6 @@ server { {{settings}} - include /etc/nginx/global_settings; - location ~ ^/sites/.*/files/styles/ { try_files $uri @rewrite; } @@ -86,7 +80,6 @@ server { location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|ico|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ { add_header Access-Control-Allow-Origin "*"; - add_header alt-svc 'h3=":443"; ma=86400'; try_files $uri @rewrite; expires max; access_log off;