From 78fe8d0148bd17204903d48973f35986742f5b76 Mon Sep 17 00:00:00 2001 From: VC Date: Fri, 14 Feb 2025 11:22:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B:=20fix=20a=20bug=20that=20prevente?= =?UTF-8?q?d=20images/logos=20to=20be=20displayed=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 b/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 index 761607f..af95cb9 100644 --- a/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 +++ b/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 @@ -9,12 +9,12 @@ server { } location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ { - expires 2w; - log_not_found off; + expires 2w; + log_not_found off; } location / { - try_files _ /index.php$is_args$args; + try_files $uri $uri/ /index.php$is_args$args; } location ~ index\.php$ {