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]

.


  • To: nginx-ru@xxxxxxxxx
  • Subject: .
  • From: "Ivan ." <jhe1979@xxxxxxxxx>
  • Date: Sat, 13 Nov 2010 15:42:31 +0100
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MYdXNoQ+F2UlQ6jnV2pEGG9gQHVi+LgZKAJpcyHWwXg=; b=syin9Rpy7zi9KcuKEaJQY4K/x3ZcEgW69IynBdVYQIQcnkHc+qi5e+LfOqNPTlzOeC 4Ix9WQa0tn3lIl48BysDhnsD5kRnqLELBfCcZv46ysBamYTA+7AHEzwx/ApbRuWieFJm GUamGy+sG2ZRmpbPMYpI7Mg0/OBypODpAP2eI=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VuIcz3sFCFcaxNfR75JKQglmxJV+6aFRDH/p7EJ7GAipya566c1l3xHhkpZcHiz5k8 VexEqsTN4GuPSfY4BsVmaDGjqeaaTyt/q+6Vphip4N0/hqKZ6NN33OVQ9XyEE9aCaqvh z0GYxGd/Ta9/wIskNjAfyrrzdBGVTdcRGlVdc=


, , 404 subs.start.domain.com

, ru.start.domain.com/folder
? ?

server_name *start.domain.com ?

server {
listen *:80;
server_name subs.start.domain.com;

access_log off;

set $serverRoot "/var/www/html/default";

if ($host ~* "^([a-zA-Z]+).start.domain.com$" ) {
set $country $1;
}

if (-d /var/www/html/$country) {
set $serverRoot "/var/www/html/$country";
}
location / {
root $serverRoot;
index index.php index.html;
}


location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $serverRoot$fastcgi_script_name;
include fastcgi_params;
}

location ~ /\.ht {
deny all;
}
}


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


 




Copyright © Lexa Software, 1996-2009.