Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- worker_processes 4;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
- # '$status $body_bytes_sent "$http_referer" '
- # '"$http_user_agent" "$http_x_forwarded_for"';
- #access_log logs/access.log main;
- server_tokens off;
- sendfile on;
- charset_types text/css text/plain text/vnd.wap.wml application/javascript application/json application/rss+xml application/xml;
- #keepalive_timeout 0;
- keepalive_timeout 65;
- # cache informations about FDs, frequently accessed files
- # # can boost performance, but you need to test those values
- #open_file_cache max=200000 inactive=20s;
- #open_file_cache_valid 30s;
- #open_file_cache_min_uses 2;
- #open_file_cache_errors on;
- # send headers in one peace, its better then sending them one by one
- #tcp_nopush on;
- # don't buffer data sent, good for small data bursts in real time
- #tcp_nodelay on;
- #enable gzip
- gzip on;
- gzip_comp_level 5;
- gzip_min_length 256;
- gzip_proxied any;
- gzip_vary on;
- gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
- include site-enabled/*.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement