15 lines
262 B
Nginx Configuration File
15 lines
262 B
Nginx Configuration File
server {
|
|
listen 8080;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location ~* \.(md|html|css|js|json)$ {
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
}
|