mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
30 lines
603 B
Nginx Configuration File
30 lines
603 B
Nginx Configuration File
|
user www-data;
|
||
|
worker_processes auto;
|
||
|
pid /run/nginx.pid;
|
||
|
error_log /var/log/nginx/error.log;
|
||
|
|
||
|
include /usr/share/nginx/modules/*.conf;
|
||
|
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
|
||
|
http {
|
||
|
access_log /var/log/nginx/access.log;
|
||
|
|
||
|
sendfile on;
|
||
|
tcp_nopush on;
|
||
|
tcp_nodelay on;
|
||
|
keepalive_timeout 65;
|
||
|
types_hash_max_size 2048;
|
||
|
server_tokens off;
|
||
|
|
||
|
include /etc/nginx/mime.types;
|
||
|
default_type application/octet-stream;
|
||
|
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/sites-enabled/*;
|
||
|
}
|