From 8337e4223c488cc9d63388b31fdae02735c86ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=AE=B6=E8=AE=AD?= Date: Fri, 23 Oct 2026 16:42:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(resume):=20=E6=96=B0=E5=A2=9E=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E8=83=BD=E5=8A=9B=E5=9B=BE/=E7=AE=80=E5=8E=86?= =?UTF-8?q?=E9=A1=B5=E5=8D=95=E6=96=87=E4=BB=B6(resume.html)+=E5=9F=9F?= =?UTF-8?q?=E5=90=8Dserver=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 30 +++ public/resume.html | 575 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 605 insertions(+) create mode 100644 public/resume.html diff --git a/nginx.conf b/nginx.conf index ec224b3..a6de52b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; diff --git a/public/resume.html b/public/resume.html new file mode 100644 index 0000000..b378d69 --- /dev/null +++ b/public/resume.html @@ -0,0 +1,575 @@ + + + + + + +张家训 · 个人能力图 / 简历 + + + + +
+ + +
+
+
张
+
+

张家训

+
Java 全栈开发工程师
+
+
+
+ +
+
+
+ + +
+

能力图

+
+
+ +
+
+
+
+ + +
+

技能栈

+
+
+ + +
+

工作经历

+
+
+ + +
+

项目经历

+
+
+ + +
+ +
+ + + +