Re:

chipitsine gmail.com
14 03:38:07 UTC 2011


  Windows 2008 ?



netsh int tcp set heuristics disabled

9  2011. 21:00  Fixid <nginx-forum  nginx.us> :
>    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  nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru



nginx-ru