feat: initial commit

This commit is contained in:
root
2026-06-14 14:00:24 +08:00
commit 72d388f642
118 changed files with 39015 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# IPCLOAKAPI — 管理站点:不经过 ip_check 流量判定,直接走 PHP
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
try_files $uri =404;
include enable-php.conf;
}
+14
View File
@@ -0,0 +1,14 @@
# IPCLOAKAPI — 业务站点(占位符由 install_bt.sh / post_site.sh 替换)
# __CLOAK_ROOT__ __PHP_INCLUDE__
location @cloaka_entry {
include __PHP_INCLUDE__;
fastcgi_param SCRIPT_FILENAME __CLOAK_ROOT__/ip_check.php;
fastcgi_param SCRIPT_NAME /ip_check.php;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param QUERY_STRING $query_string;
}
location / {
try_files $uri $uri/ @cloaka_entry;
}