初始化仓库

This commit is contained in:
2026-02-26 15:05:17 +08:00
commit 949d963236
7 changed files with 111 additions and 0 deletions

19
nginx/configs/byjd.conf Normal file
View File

@@ -0,0 +1,19 @@
server{
listen 18702;
server_name "127.0.0.1";
index index.php;
root /var/www/html/byjd;
location ~ \.php(.*)$ {
fastcgi_pass php-fpm:9000;
include fastcgi_params;
fastcgi_param PATH_INFO $1;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location / {
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
}