docs: 修复HTML文档出差申请结构错误 + 添加OpenResty文档托管配置

This commit is contained in:
root
2026-02-28 13:15:30 +08:00
parent 9da279e349
commit c2e5c35a9b
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -345,7 +345,7 @@
</li>
<li class="step-item">
<span class="step-number">3</span>
span class="step-text">填写出差事由,添加行程(出发地、目的地、日期)</span>
<span class="step-text">填写出差事由,添加行程(出发地、目的地、日期)</span>
</li>
<li class="step-item">
<span class="step-number">4</span>
+14
View File
@@ -35,3 +35,17 @@ location /feishu/card/callback {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# 用户文档静态托管
location /docs/ {
alias /www/x-server-mobile/frontend/public/docs/;
index user-guide.html;
types {
text/html html htm;
text/css css;
application/javascript js;
image/svg+xml svg;
}
add_header Cache-Control "public, max-age=3600";
charset utf-8;
}