Update rootfs/etc/nginx/nginx.conf
All checks were successful
docker-build / release (push) Successful in 5s
docker-build / docker-build (push) Successful in 10s

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

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;