mirror of
https://github.com/koodiklinikka/playbooks.git
synced 2026-01-26 11:14:04 +00:00
38 lines
756 B
Nginx Configuration File
38 lines
756 B
Nginx Configuration File
user www-data;
|
|
worker_processes 4;
|
|
pid /var/run/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 768;
|
|
}
|
|
|
|
http {
|
|
|
|
server_names_hash_bucket_size 64;
|
|
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;
|
|
|
|
access_log /var/log/nginx/access.log;
|
|
error_log /var/log/nginx/error.log;
|
|
|
|
charset utf-8;
|
|
|
|
gzip on;
|
|
gzip_static on;
|
|
gzip_http_version 1.1;
|
|
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
|
gzip_min_length 1000;
|
|
gzip_proxied expired no-cache no-store private auth;
|
|
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
|
|
|
|
server_tokens off;
|
|
|
|
include /etc/nginx/sites-enabled/*;
|
|
}
|