Показать сообщение отдельно
Старый 31.01.2013, 10:11   #3  
scint is offline
scint
Участник
 
43 / 14 (1) ++
Регистрация: 25.02.2009
1. конфига TMG
http://blogs.technet.com/b/sooraj-se...-crm-page.aspx

2. конфига правил
user root wheel;
worker_rlimit_nofile 50000;
working_directory /root;
worker_rlimit_core 2048M;


worker_processes 16;

events {
worker_connections 10240;
}


http {

client_max_body_size 256m;

server_tokens off;

#log_format evrika_long '$remote_addr\t$remote_user\t[$time_local]\t$host\t$server_addr\t$request\t$status\t$body_bytes_sent\t$http_referer\t$http_user_agent\t$http_x_forwarded_for\t$request_time-$upstream_response_time';
log_format evrika_long '$remote_addr\t$remote_user\t[$time_local]\t$host\t$server_addr\t$upstream_addr\t$request\t$status\t$body_bytes_sent\t$request_length\t$http_referer\t$http_user_agent\t$http_x_forwarded_for\t$request_time\t$upstream_response_time\t$http_cookie';


ssl_certificate thawte-2012.pem;
ssl_certificate_key thawte-2012.pem;

ssl_session_timeout 5m;

#ssl_protocols SSLv3 TLSv1 SSLv2;
ssl_protocols SSLv3 TLSv1;
#ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+EXP;
ssl_prefer_server_ciphers on;

types {
text/html html htm shtml;
text/css css;
text/xml xml;
image/gif gif;
image/jpeg jpeg jpg;
application/x-javascript js;
application/atom+xml atom;
application/rss+xml rss;
text/mathml mml;
text/plain txt;
text/vnd.sun.j2me.app-descriptor jad;
text/vnd.wap.wml wml;
text/x-component htc;
application/pkix-crl crl;

image/png png;
image/tiff tif tiff;
image/vnd.wap.wbmp wbmp;
image/x-icon ico;
image/x-jng jng;
image/x-ms-bmp bmp;
image/svg+xml svg svgz;
image/webp webp;

application/java-archive jar war ear;
application/mac-binhex40 hqx;
application/msword doc;
application/pdf pdf;
application/postscript ps eps ai;
application/rtf rtf;
application/vnd.ms-excel xls;
application/vnd.wap.wmlc wmlc;
application/vnd.google-earth.kml+xml kml;
application/vnd.google-earth.kmz kmz;
application/x-7z-compressed 7z;
application/x-cocoa cco;
application/x-java-archive-diff jardiff;
application/x-java-jnlp-file jnlp;
application/x-makeself run;
application/x-perl pl pm;
application/x-pilot prc pdb;
application/x-rar-compressed rar;
application/x-redhat-package-manager rpm;
application/x-sea sea;
application/x-shockwave-flash swf;
application/x-stuffit sit;
application/x-tcl tcl tk;
application/x-x509-ca-cert der pem crt;
application/x-xpinstall xpi;
application/xhtml+xml xhtml;
application/zip zip;

application/octet-stream bin exe dll;
application/octet-stream deb;
application/x-apple-diskimage dmg;
application/octet-stream eot;
application/octet-stream iso img;
application/octet-stream msi msp msm;

audio/midi mid midi kar;
audio/mpeg mp3;
audio/ogg ogg;
audio/x-m4a m4a;
audio/x-realaudio ra;

video/3gpp 3gpp 3gp;
video/mp4 mp4;
video/mpeg mpeg mpg;
video/quicktime mov;
video/webm webm;
video/x-flv flv;
video/x-m4v m4v;
video/x-mng mng;
video/x-ms-asf asx asf;
video/x-ms-wmv wmv;
video/x-msvideo avi;

application/x-openvpn-profile ovpn;
}

default_type application/octet-stream;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;

keepalive_timeout 65;
keepalive_requests 100000;

upstream <servername>.<domainname>.ru {
server xxx.xxx.xxx.xxx:443;
}

gzip on;
gzip_types text/css text/javascript application/x-javascript text/plain text/xml text/x-component text/json application/octet-stream;
gzip_min_length 500;
gzip_disable msie6;

proxy_next_upstream error timeout http_503;

###########################
# http://<servername>.<domainname>.ru

server {
listen yyy.yyy.yyy.yyy:80;
server_name <servername>.<domainname>.ru;
rewrite ^/(.*)$ https://$server_name redirect;
}

#################################################
# https://<servername>.<domainname>.ru:443
#
server {
listen yyy.yyy.yyy.yyy:443 ssl;
server_name <servername>.<domainname>.ru;
ssl_certificate <domainname>.pem;
ssl_certificate_key <domainname>.pem;

error_log /big/nginx/<servername>.error_log;
access_log /big/nginx/<servername>.access.log combined buffer=32k;

location / {
chunked_transfer_encoding on;
proxy_connect_timeout 3;
proxy_set_header Host <servername>.<domainname>.ru;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_pass https://<servername>.<domainname>.ru;
}
}

3. Логи настроены только на ошибки и на доступ. Ошибок нет. На доступ постараюсь выложить. На данный момент отрубили правило и оставили пока все во внутренней сети.

4. Просил включить компрессию (по аналогии с компрессией для правил TMG). Не помогло.