Update rootfs/etc/nginx/nginx.conf

This commit is contained in:
holzi1005 2025-06-22 10:51:31 +02:00
parent ec9fcb7842
commit 62cb2c1c4c

View file

@ -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;