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 全栈开发工程师
+
+
+
+ +
+
+
+ + +
+

能力图

+
+
+ +
+
+
+
+ + +
+

技能栈

+
+
+ + +
+

工作经历

+
+
+ + +
+

项目经历

+
+
+ + +
+ +
+ + + +