Update:更新了一些小脚本

This commit is contained in:
2025-02-24 22:48:23 +08:00
parent 779350df46
commit ed857900ae
10 changed files with 909 additions and 137 deletions

19
PHP/jsd加速/README.md Normal file
View File

@@ -0,0 +1,19 @@
# 伪静态需求
```Apache
RewriteEngine on
RewriteBase /
RewriteCond $1 ^(index\.php)?$ [OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} ^index\.php?$
RewriteRule ^(.*)$ - [S=1]
RewriteRule . /index.php [L]
```
```nginx
location / {
try_files $uri $uri/ /index.php?$query_string;
}
```