mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 22:12:15 +00:00
sprites added
This commit is contained in:
@@ -38,6 +38,18 @@ server {
|
|||||||
add_header Cache-Control public;
|
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/ {
|
location /ne2_shaded/ {
|
||||||
# trailing slash
|
# trailing slash
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
from ssh_lib import ASSETS_DIR
|
from ssh_lib.utils import put_str
|
||||||
from ssh_lib.utils import put, put_str
|
|
||||||
|
|
||||||
|
|
||||||
def kernel_somaxconn65k(c):
|
def kernel_somaxconn65k(c):
|
||||||
|
|||||||
Reference in New Issue
Block a user