mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-09 02:40:18 +00:00
fix: 修复版本更新Index.html不刷新的问题
This commit is contained in:
@@ -2,6 +2,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
|
|
||||||
location /ui/ {
|
location /ui/ {
|
||||||
|
add_header Cache-Control "no-cache, no-store";
|
||||||
try_files $uri / /ui/index.html;
|
try_files $uri / /ui/index.html;
|
||||||
alias /opt/lina/;
|
alias /opt/lina/;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user