This commit is contained in:
gogongxt committed 2026-11-05 14:35:59 +08:00
1 parent 65fd41419a
commit 56d536289d
2 files changed
+7 -1

No files matched your search

+5
View File
@@ -5,6 +5,11 @@ server {
root /home/gogongxt/tools;
index index.html;
# 禁止访问 .git / .env 等隐藏文件(放行 ACME 校验)
location ~ /\.(?!well-known) {
deny all;
}
# 静态文件直接返回
location / {
try_files $uri $uri/ =404;