From c750cba136f33554207e2e181313d8a42dd7288c Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sun, 22 Jun 2025 10:51:31 +0200 Subject: [PATCH] Update rootfs/etc/nginx/nginx.conf --- rootfs/etc/nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index 5ae1c3b..a2207e6 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -90,6 +90,12 @@ http { expires 5d; } + location ~ ^/theme/.*\.(ico|jpg|jpeg|png|webp)$ { + root /var/www/html/public; + add_header Access-Control-Allow-Origin "*"; + try_files $uri =404; + } + # Deny access to . files, for security location ~ /\. { log_not_found off;