update
This commit is contained in:
1 parent
65fd41419a
commit
56d536289d
2 files changed
+7
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user