ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ÷ÒÅÍÑ ÏÔËÌÉËÁ



Õ ×ÁÓ Windows 2008 ?

ÐÏÐÒÏÂÕÊÔÅ

netsh int tcp set heuristics disabled

9 ÎÏÑÂÒÑ 2011šÇ. 21:00 ÐÏÌØÚÏ×ÁÔÅÌØ Fixid <nginx-forum@xxxxxxxx> ÎÁÐÉÓÁÌ:
> åÓÔØ ÆÒÏÎÔÅÎÄ Ó NGINX. ðÒÉ ÚÁÈÏÄÅ ÎÁ ÓÁÊÔ
> ÄÏ ÎÁÞÁÌÁ ÚÁÇÒÕÚËÉ (Ô.Å. ×ÒÅÍÑ
> ÓÏÅÄÉÎÅÎÉÑ ) ÏËÏÌÏ 30 ÓÅËÕÎÄ, ÐÏÔÏÍ ×ÓÅ
> ÎÏÒÍÁÌØÎÏ, ËÏÎÔÅÎÔ ÚÁÇÒÕÖÁÅÔÓÑ šÂÙÓÔÒÏ.
> ëÁË ÍÏÖÎÏ ÕÍÅÎØÛÉÔØ ×ÒÅÍÑ ÏÔËÌÉËÁ?
>
> user šnginx;
> worker_processes š2;
> worker_rlimit_nofile 100000;
>
> error_log š /var/log/nginx/error.log;
> #error_log š/var/log/nginx/error.log šnotice;
> #error_log š/var/log/nginx/error.log šinfo;
>
> pid š š š š/var/run/nginx.pid;
>
>
> events {
> š šworker_connections š5024;
> š šuse epoll;
> }
>
>
> http {
> š šinclude š š š /etc/nginx/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 š/var/log/nginx/access.log šmain;
>
> š šsendfile š š š šon;
> š štcp_nopush š š šon;
> š štcp_nodelay š š on;
> š šserver_tokens š off;
> š šgzip š š š š š šon;
> š šgzip_static š š on;
> š šgzip_comp_level 5;
> š šgzip_min_length 1024;
> š škeepalive_timeout š65;
> š šlimit_zone š myzone š$binary_remote_addr š10m;
>
> š š# Load config files from the /etc/nginx/conf.d directory
> š šinclude /etc/nginx/conf.d/*.conf;
>
> š šserver {
> š š š šlisten 80 default;
> rewrite ^ https://www.test.com/;
> š š}
> }
>
>
> SSL:
>
> server {
> š šlisten š š š 443 default;
> š šserver_name šwww.test.com ;
>
> š šssl š š š š š š š š šon;
> š šssl_certificate š š š/etc/nginx/conf.d/certificate.cer;
> š šssl_certificate_key š/etc/nginx/conf.d/rsa.key;
>
> š šssl_session_timeout š10m;
>
> š šssl_protocols šSSLv2 SSLv3 TLSv1;
> š šssl_ciphers
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
> š šssl_prefer_server_ciphers š on;
>
> š šif ($host = "test.com" ) {
> š šrewrite ^ https://www.test.com/;
> }
> š šlocation / {
> proxy_pass https://IIS:500/;
> proxy_redirect off;
> proxy_ignore_client_abort off;
> proxy_connect_timeout 600;
> proxy_send_timeout 600;
> proxy_read_timeout 600;
> proxy_ignore_headers Expires Cache-Control;
> proxy_hide_header Vary;
> š š}
> }
>
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,218102,218102#msg-218102
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.