mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-09-18 08:15:01 +00:00
fix: 添加 web-static 配置
This commit is contained in:
@@ -30,6 +30,10 @@ server {
|
||||
}
|
||||
location /download/ {
|
||||
alias /opt/download/;
|
||||
try_files $uri @redirect_oss;
|
||||
}
|
||||
location @redirect_oss {
|
||||
rewrite ^/download/(.*)$ https://static.jumpserver.org/download/$1 permanent;
|
||||
}
|
||||
location /static/ {
|
||||
root /opt/jumpserver/data/;
|
||||
|
Reference in New Issue
Block a user