30 lines
669 B
Nginx Configuration File
30 lines
669 B
Nginx Configuration File
|
user http;
|
||
|
worker_processes auto;
|
||
|
error_log /var/log/nginx/error.log;
|
||
|
include /etc/nginx/modules-enabled/*.conf;
|
||
|
|
||
|
events {
|
||
|
multi_accept on;
|
||
|
use epoll;
|
||
|
worker_connections 256;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
|
||
|
index index.html index.htm index.php;
|
||
|
|
||
|
server_tokens off;
|
||
|
|
||
|
include /etc/nginx/mime.types;
|
||
|
charset_types text/css text/plain text/vnd.wap.wml application/javascript application/json application/rss+xml application/xml;
|
||
|
|
||
|
sendfile on;
|
||
|
tcp_nopush on;
|
||
|
tcp_nodelay on;
|
||
|
|
||
|
types_hash_bucket_size 128;
|
||
|
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/sites-enabled/*;
|
||
|
}
|