NGINX epoll_ctl(1, 13) 失败(17:文件存在)

问题描述 投票:0回答:0

我用 https://www.virtuozzo.com/ 安装了 nginx 之后我部署了并且它工作了并且我安装了 SSL 然后在访问我的网站时发生错误 epoll_ctl(1, 13) failed (17: File exists)。请告诉我我的 nginx 设置中缺少什么

我的 default.conf

location / {
root   /var/www/webroot/ROOT/public;
index  index.html index.htm index.php;

location ~ \.php$ {
    location ~ /\. { deny all; access_log off; log_not_found off; }
    include /etc/nginx/fastcgi_params;
    fastcgi_buffers 32 4k;
    fastcgi_buffer_size 16k;
    fastcgi_busy_buffers_size 32k;          
    fastcgi_pass unix:/var/run/php-fpm.socket;
    fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    fastcgi_param DOCUMENT_ROOT $realpath_root;
    fastcgi_param PATH_INFO $fastcgi_script_name;
}

location / {
     try_files $uri $uri/ /index.php?$args;
}
}

error_page   500 502 503 504  /50x.html;
location = /50x.html {
root   html; }

location ~ ^/\.well-known { root /var/www/webroot/ROOT;  allow all;}
location ~ /\.well-known { root /var/www/webroot;  allow all;}
location ~ /\. { deny all; access_log off; log_not_found off; }
location ~ \.php$ {
location ~ /\. { deny all; access_log off; log_not_found off; }
include /etc/nginx/fastcgi_params;
fastcgi_buffers 32 4k;
fastcgi_buffer_size 16k;
fastcgi_busy_buffers_size 32k;
fastcgi_pass unix:/var/run/php-fpm.socket;
fastcgi_param SCRIPT_FILENAME /var/www/webroot$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT /var/www/webroot;

}

apache nginx vps
© www.soinside.com 2019 - 2024. All rights reserved.