2020-11-02 19:46:59 +01:00
|
|
|
user nginx;
|
|
|
|
worker_processes auto;
|
|
|
|
|
|
|
|
error_log /var/log/nginx/error.log warn;
|
|
|
|
pid /var/run/nginx.pid;
|
|
|
|
|
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections {worker_connections};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
http {
|
|
|
|
include /etc/nginx/mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
|
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
|
|
|
'$status $body_bytes_sent "$http_referer" '
|
|
|
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
|
|
|
|
|
|
|
access_log /var/log/nginx/access.log main;
|
|
|
|
|
|
|
|
sendfile on;
|
|
|
|
#tcp_nopush on;
|
|
|
|
|
|
|
|
keepalive_timeout 65;
|
|
|
|
|
|
|
|
#gzip on;
|
|
|
|
|
2020-11-19 11:28:09 +01:00
|
|
|
server_tokens off;
|
|
|
|
|
2021-02-05 11:33:39 +01:00
|
|
|
client_max_body_size {client_max_body_size};
|
2021-02-04 20:57:01 +01:00
|
|
|
|
2020-11-02 19:46:59 +01:00
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
|
|
include /etc/nginx/vhost.d/*.conf;
|
|
|
|
}
|