19 lines
373 B
Nginx Configuration File
19 lines
373 B
Nginx Configuration File
# nginx configuration for tar1090
|
|
location /INSTANCE/data/ {
|
|
alias SOURCE_DIR/;
|
|
}
|
|
|
|
location /INSTANCE/chunks/ {
|
|
alias /run/SERVICE/;
|
|
location ~* \.gz$ {
|
|
add_header Cache-Control "must-revalidate";
|
|
add_header Content-Type "application/json";
|
|
add_header Content-Encoding "gzip";
|
|
}
|
|
}
|
|
|
|
location /INSTANCE {
|
|
alias HTMLPATH/;
|
|
try_files $uri $uri/ =404;
|
|
}
|