feat(resume): 新增个人能力图/简历页单文件(resume.html)+域名server块
CI/CD Deploy (Web) / 构建前端镜像并部署 (push) Successful in 21s

This commit is contained in:
张家训
2026-10-23 16:42:30 +08:00
parent 8a45a5dfff
commit 8337e4223c
2 changed files with 605 additions and 0 deletions
+30
View File
@@ -76,6 +76,36 @@ server {
}
}
# -------------------------------------------------------------
# resume.jiaxun.site:个人能力图 / 简历页(纯静态单文件,无接口)
# 根路径直接出 resume.html;也可直接访问 /resume.html
# 前提:上游(VPS openresty)反代时需传 Host 头(proxy_set_header Host $host)
# -------------------------------------------------------------
server {
listen 80;
server_name resume.jiaxun.site;
root /usr/share/nginx/html;
index resume.html;
# 根路径与 /resume.html 都直出简历页
location = / {
try_files /resume.html =404;
}
location = /resume.html {
try_files /resume.html =404;
}
location / {
try_files $uri =404;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
# ---------------- 主站(IP:8880 及其他域名直达) ----------------
server {
listen 80 default_server;