Welcome! Log In Create A New Profile

Advanced

Как лучше?

August 23, 2012 03:42PM
types_hash_max_size (Оптимальное значение под CPU Core i7 920)
server_names_hash_bucket_size (Оптимальное значение под CPU Core i7 920)

multi_accept (Нужно ли включать ?)


Лучше так включать gzip ?
gzip on;
gzip_disable "msie6";

Или так?
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;


И что ещё можно добавить для улучшение/ускорения работы?






Полный nginx.conf

user www-data;
worker_processes 2;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
# multi_accept on;
}

http {

sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
server_tokens off;
client_max_body_size 120m;
server_names_hash_bucket_size 64;
# server_name_in_redirect off;

include /etc/nginx/mime.types;
default_type application/octet-stream;

access_log off;
error_log off;

gzip on;
gzip_disable "msie6";

# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Subject Author Posted

Как лучше?

DaNko August 23, 2012 03:42PM

Re: Как лучше?

VBart August 23, 2012 04:08PM

Re: Как лучше?

DaNko August 23, 2012 04:13PM

Re: Как лучше?

VBart August 23, 2012 04:18PM

Re: Как лучше?

DaNko August 23, 2012 04:22PM

Re: Как лучше?

Igor V. Fatkulin August 23, 2012 10:56PM

Re: Как лучше?

Igor Sysoev August 24, 2012 12:54AM

Re: Как лучше?

DaNko August 24, 2012 04:23AM

Re: Как лучше?

Igor Sysoev August 24, 2012 05:02AM

Re: Как лучше?

DaNko August 24, 2012 05:18AM

Re: Как лучше?

Igor Sysoev August 24, 2012 05:28AM

Re: Как лучше?

Aleksandr Sytar August 24, 2012 06:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready