You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
799 B
37 lines
799 B
2 years ago
|
user {{ nginx_user }};
|
||
|
worker_processes auto;
|
||
|
pid /run/nginx.pid;
|
||
|
include /etc/nginx/modules-enabled/*.conf;
|
||
|
|
||
|
events {
|
||
|
worker_connections 768;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
|
||
|
# Basic Settings
|
||
|
sendfile on;
|
||
|
tcp_nopush on;
|
||
|
tcp_nodelay on;
|
||
|
keepalive_timeout 65;
|
||
|
types_hash_max_size 2048;
|
||
|
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
|
||
|
# SSL Settings
|
||
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
|
||
|
ssl_prefer_server_ciphers on;
|
||
|
|
||
|
# Logging Settings
|
||
|
log_format main {{ nginx_log_format|indent(23) }};
|
||
|
|
||
|
access_log {{ nginx_log_path }}/{{ nginx_access_log_filename }}.log {{ access_log_args }};
|
||
|
error_log {{ nginx_log_path }}/{{ nginx_error_log_filename }}.log;
|
||
|
|
||
|
# Gzip Settings
|
||
|
gzip on;
|
||
|
|
||
|
# Virtual Host Configs
|
||
|
include {{ nginx_conf_path }}/*.conf;
|
||
|
}
|