Hi,
I have a problem with restarting the php-cgi7.0 child processes on my recently new virtualmin server
I have posted the video and question here: http://serverfault.com/questions/806673/restart-php7-fpm-on-nginx-1-10
webmin version: 1.810
virtualmin version: 5.04
Under webmin I have Nginx modul config like this: http://i.imgur.com/BHXXA3L.png (I changed the default value from 4 to 2 and reloaded nginx and nothing happens)
and this is one of the sites generated config from nginx… hope that helps:
server {
server_name DOMAIN.online www.DOMAIN.online;
listen 123.456.789.111;
root /home/DOMAIN/public_html;
index index.html index.htm index.php;
access_log /var/log/virtualmin/DOMAIN.online_access_log;
error_log /var/log/virtualmin/DOMAIN.online_error_log;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_FILENAME /home/DOMAIN/public_html$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT /home/DOMAIN/public_html;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param HTTPS $https;
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/php-nginx/14748972826071.sock/socket;
}
include common.conf;
include wordpress.conf;
listen 123.456.789.111:443 ssl;
ssl_certificate /home/DOMAIN/ssl.cert;
ssl_certificate_key /home/DOMAIN/ssl.key;
fastcgi_read_timeout 60;
}
thanks for any help that you can think of, because I’m about to kill that processes manuly and do not know will that block my server in some strange way or is that like expected…
Kresimir