27 lines
641 B
Nginx Configuration File
27 lines
641 B
Nginx Configuration File
user www-data;
|
|
worker_processes 1;
|
|
pid /run/nginx.pid;
|
|
error_log /var/log/nginx/error.log warn;
|
|
include /etc/nginx/modules-enabled/*.conf;
|
|
|
|
events {
|
|
worker_connections 512;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
server_tokens off;
|
|
sendfile on;
|
|
keepalive_timeout 30;
|
|
client_header_timeout 10s;
|
|
client_body_timeout 90s;
|
|
client_max_body_size 64m;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
ssl_session_cache shared:SSL:2m;
|
|
ssl_session_timeout 1d;
|
|
ssl_session_tickets off;
|
|
access_log /var/log/nginx/access.log combined;
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|