Skip to content

Commit

Permalink
fix: 添加 web-static 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Sep 14, 2024
1 parent 73a93fb commit 4a0a6cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/jumpserver/configs/jms-web/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/;
Expand Down

0 comments on commit 4a0a6cc

Please sign in to comment.