Update rootfs/etc/nginx/nginx.conf
This commit is contained in:
parent
ec9fcb7842
commit
62cb2c1c4c
1 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,12 @@ http {
|
||||||
expires 5d;
|
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
|
# Deny access to . files, for security
|
||||||
location ~ /\. {
|
location ~ /\. {
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|
Loading…
Add table
Reference in a new issue