增加docker配置;修复重置命令错误;优化timer请求机制支持本地

This commit is contained in:
2024-04-07 13:47:52 +08:00
parent 7fcfb6249d
commit c0b5880ae1
8 changed files with 147 additions and 8 deletions

30
docker/nginx.conf Normal file
View File

@@ -0,0 +1,30 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html/public;
index index.php index.html index.htm;
server_name _;
# 上传大小不限制
client_max_body_size 8192m;
# 运行时长不限制
fastcgi_read_timeout 60000;
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}