提交 db75a5fb 编写于 作者: U UlricQin

modify nginx for static files

上级 be1e161f
......@@ -103,28 +103,12 @@ http {
rewrite / /mon;
}
location /rdb {
root /home/n9e/pub;
index index.html;
try_files $uri /rdb/index.html;
location / {
try_files $uri /layout/index.html;
}
location /ams {
root /home/n9e/pub;
index index.html;
try_files $uri /ams/index.html;
}
location /job {
root /home/n9e/pub;
index index.html;
try_files $uri /job/index.html;
}
location /mon {
root /home/n9e/pub;
index index.html;
try_files $uri /mon/index.html;
location ~ .*(.htm|.html|manifest.json)$ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
}
location /api/rdb {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册