blob: 310d68d8b9a01895bf7c9ae9c80006f59031d4c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
# a new build replaces these files in place, so have clients check
add_header Cache-Control "no-cache";
location ~ \.apk$ {
default_type application/vnd.android.package-archive;
add_header Cache-Control "no-cache";
}
location = /SHA256SUMS {
default_type text/plain;
add_header Cache-Control "no-cache";
}
location / {
try_files $uri $uri/ =404;
}
}
|