Avast raporteaza facebook virusat

Renumitul antivirus, avast! a avut in seara aceasta, 11 Aprilie 2011, un mic incident: a raportat mai multe site-uri de renume ca fiind virusate si implicit a blocat accesul utilizatorilor la aceste site-uri. Printre ele se numara facebook.com si twitter.com 🙂  Interesant, nu? Dupa cum bine stim, orice actiune are si o reactiune, deci …oare ce vor zile mai marii din social networking despre asta? 🙂

# cat /etc/nginx/vhost.template

server {

listen 80;

server_name <domain.name> www.<domain.name>;

access_log /var/log/nginx/<domain.name>.access.log main;

 

#Main location

location / {

proxy_pass http://<domain.name>:8080/;

proxy_redirect default;

 

proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

 

client_max_body_size 10m;

client_body_buffer_size 128k;

 

proxy_connect_timeout 90;

proxy_send_timeout 90;

proxy_read_timeout 90;

 

proxy_buffer_size 4k;

proxy_buffers 4 32k;

proxy_busy_buffers_size 64k;

proxy_temp_file_write_size 64k;

 

open_file_cache max=1024 inactive=600s;

open_file_cache_valid 2000s;

open_file_cache_min_uses 1;

open_file_cache_errors on;

}

 

# Static files location

location ~* ^.+\.(jpg|jpeg|gif|png|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js|ico|swf)$ {

root /var/www/vhosts/<domain.name>/httpdocs;

expires 30d;

}

}

No Comments Yet

Leave a Reply

Your email address will not be published. Required fields are marked *