clear php
This commit is contained in:
@@ -52,6 +52,11 @@ server {
|
||||
charset utf-8;
|
||||
client_max_body_size 20m;
|
||||
|
||||
# ── 0. 屏蔽 PHP 文件直接访问(PHP 已停用,防止残留文件被暴露)──
|
||||
location ~* \.php$ {
|
||||
return 404;
|
||||
}
|
||||
|
||||
# ── 1. API 请求 → Node.js ─────────────────────────────────────
|
||||
location /api/ {
|
||||
proxy_pass http://chuanqi_api;
|
||||
|
||||
Reference in New Issue
Block a user