在我的服务器上输入service nginx start之后,出现以下文本:
nginx.service的Job失败,因为控制进程退出并显示错误代码。 有关详细信息,请参见“ systemctl status nginx.service”和“ journalctl -xe”。
有人知道发生了什么吗?感谢您提供的任何信息和帮助。祝福你。
user www-data;
worker_processes auto;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
multi_accept on;
use epoll;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
#Ustaw limity połączeń. Layer-7 Security Julek
#limit_req_zone $binary_remote_addr zone=one:10m rate=30r/m;
#limit_conn_zone $binary_remote_addr zone=addr:10m;
# INCLUDE ALL WEBSITE
#include /etc/nginx/conf.d/bialogardzianin.conf;
include /etc/nginx/conf.d/vigilance.conf;
#include /etc/nginx/conf.d/envigilance.conf;
include /etc/nginx/conf.d/kasacja-aut.conf;
include /etc/nginx/conf.d/mahulaboni.conf;
include /etc/nginx/conf.d/kowalewscy.conf;
#include /etc/nginx/conf.d/playstories.conf;
#include /etc/nginx/conf.d/odnovit-centrum.conf;
include /etc/nginx/conf.d/lzs.conf;
include /etc/nginx/conf.d/alpha.conf;
#include /etc/nginx/conf.d/testvigi.conf;
include /etc/nginx/conf.d/malinowskafashion.conf;
include /etc/nginx/conf.d/tarasewicz.conf;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
# #Buffers
client_body_buffer_size 10K;
client_header_buffer_size 1k;
client_max_body_size 8m;
large_client_header_buffers 2 1k;
ignore_invalid_headers on;
## GZIP
gzip on;
gzip_vary on;
gzip_comp_level 6;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;
gzip_buffers 16 8k;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
# Cache most accessed static files
open_file_cache max=100000 inactive=360m;
open_file_cache_valid 2m;
open_file_cache_min_uses 1;
open_file_cache_errors on;
## Hide the Nginx version number.
server_tokens off;
## Fill in with your own resolver.
resolver 8.8.8.8;
## Timeouts.
client_body_timeout 12;
client_header_timeout 12;
keepalive_timeout 15;
send_timeout 10;
}