From 7b0f0d972b6aacf7fea3a955294ea44c12475c33 Mon Sep 17 00:00:00 2001 From: fritzmg Date: Tue, 27 May 2025 18:29:05 +0100 Subject: [PATCH] add try_files for favicon in Contao --- v2-http3/Contao/Contao 4 | 1 + v2-varnish/Contao/Contao 4 | 1 + v2/Contao/Contao 4 | 1 + 3 files changed, 3 insertions(+) diff --git a/v2-http3/Contao/Contao 4 b/v2-http3/Contao/Contao 4 index fc6f3e6..caa30aa 100755 --- a/v2-http3/Contao/Contao 4 +++ b/v2-http3/Contao/Contao 4 @@ -53,6 +53,7 @@ server { location = /favicon.ico { log_not_found off; access_log off; + try_files $uri /index.php$is_args$args; } location = /robots.txt { diff --git a/v2-varnish/Contao/Contao 4 b/v2-varnish/Contao/Contao 4 index a47b29e..a2b9953 100755 --- a/v2-varnish/Contao/Contao 4 +++ b/v2-varnish/Contao/Contao 4 @@ -47,6 +47,7 @@ server { location = /favicon.ico { log_not_found off; access_log off; + try_files $uri /index.php$is_args$args; } location = /robots.txt { diff --git a/v2/Contao/Contao 4 b/v2/Contao/Contao 4 index a47b29e..a2b9953 100755 --- a/v2/Contao/Contao 4 +++ b/v2/Contao/Contao 4 @@ -47,6 +47,7 @@ server { location = /favicon.ico { log_not_found off; access_log off; + try_files $uri /index.php$is_args$args; } location = /robots.txt {