atom feed14 messages in ru.sysoev.nginxRe: dynamic logs
FromSent OnAttachments
Vladan PopovicSep 11, 2008 1:15 pm 
Igor SysoevSep 11, 2008 1:36 pm 
Vladan PopovicSep 11, 2008 3:51 pm 
Igor SysoevSep 11, 2008 10:53 pm 
Vladan PopovicSep 12, 2008 12:38 am 
Igor SysoevSep 12, 2008 12:56 am 
Vladan PopovicSep 12, 2008 4:09 am 
Maxim DouninSep 12, 2008 4:40 am 
Maxim DouninSep 12, 2008 5:19 am 
Igor SysoevSep 12, 2008 5:27 am.log
Vladan PopovicSep 12, 2008 6:06 am 
Igor SysoevSep 12, 2008 6:29 am 
Igor SysoevSep 12, 2008 6:35 am 
Vladan PopovicSep 12, 2008 2:29 pm 
Subject:Re: dynamic logs
From:Vladan Popovic (vlad@be-o.com)
Date:Sep 12, 2008 2:29:56 pm
List:ru.sysoev.nginx

Igor Sysoev <is@...> writes:

BTW, it's better to use

server { server_name _ ;

root /home/http$myroot ; access_log /var/log/nginx/$dom debug ;

if ($host ~* "^([^.]+(\.[^.]+)*)\.((.*)\.(com|net|org)(\..*)?)$"){ set $dom $3; set $myroot /sites/$dom/$1/htdocs ; }

location / { index index.php index.html index.htm; }

include php-fastcgi;

location ^~ /widgets/ { alias /home/http/lib/widgets/; }

location ^~ /crm/ { rewrite ^ https://$host/$request_uri permanent; } }

What is in php-fastcgi ?

thank you, but why is the order important? php-fastcgi contains the following: # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_param HTTPS $ssl; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/http$myroot$fastcgi_script_name; include fastcgi_params; }