sprites added

This commit is contained in:
Zsolt Ero
2024-01-10 21:24:59 +01:00
parent 8f6e45dc61
commit 7b735e3684
2 changed files with 13 additions and 2 deletions

View File

@@ -38,6 +38,18 @@ server {
add_header Cache-Control public;
}
location /sprites/ {
# trailing slash
alias /data/ofm/http_host/assets/sprites/; # trailing slash
try_files $uri =404;
expires 1d; # target 10y
add_header 'Access-Control-Allow-Origin' '*' always;
add_header Cache-Control public;
}
location /ne2_shaded/ {
# trailing slash