Initial commit
This commit is contained in:
commit
64a227437d
1920 files changed
+3428556
No files matched your search
@@ -0,0 +1,18 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# Manifests and images change with each build: always revalidate
|
||||
location /firmware/ {
|
||||
add_header Cache-Control "no-cache";
|
||||
types { application/json json; application/octet-stream bin; }
|
||||
}
|
||||
location /vendor/ {
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user