feat: implement backend service management for Nginx, PHP, and MySQL with configuration templating and IPC handlers
This commit is contained in:
@@ -4,6 +4,7 @@ datadir="{{DATADIR}}"
|
||||
socket="{{SOCKET}}"
|
||||
character-set-server=utf8mb4
|
||||
collation-server=utf8mb4_unicode_ci
|
||||
log-error="{{LOG_FILE}}"
|
||||
|
||||
[client]
|
||||
port={{PORT}}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
error_log "{{LOG_DIR}}/nginx_error.log";
|
||||
pid "{{LOG_DIR}}/nginx.pid";
|
||||
worker_processes 1;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
http {
|
||||
include mime.types;
|
||||
include "{{CONF_DIR}}/mime.types";
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
@@ -22,7 +24,7 @@ http {
|
||||
fastcgi_pass 127.0.0.1:{{PHP_PORT}};
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
include "{{CONF_DIR}}/fastcgi_params";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user