Update rootfs/etc/nginx/nginx.conf
This commit is contained in:
parent
ec9fcb7842
commit
c750cba136
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue