28 lines
561 B
Plaintext
28 lines
561 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location = /index.html {
|
|
add_header Cache-Control "no-store";
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location = /assets/storyforge-runtime-config.js {
|
|
add_header Cache-Control "no-store";
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location /assets/ {
|
|
add_header Cache-Control "no-store";
|
|
try_files $uri =404;
|
|
}
|
|
|
|
location / {
|
|
add_header Cache-Control "no-store";
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|