docs: 修复HTML文档出差申请结构错误 + 添加OpenResty文档托管配置
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user