vhosting and map { }

Dmitry Morozovsky marck at rinet.ru
Wed Jun 28 13:32:22 MSD 2006


On Wed, 28 Jun 2006, Igor Sysoev wrote:

IS> > --- nginx.conf-dist     Fri Jun  2 19:59:12 2006
IS> > +++ nginx.conf     Wed Jun 28 12:43:04 2006
IS> > @@ -20,7 +20,7 @@
IS> > 
IS> >     #log_format  main  '$remote_addr - $remote_user [$time_local] $status
IS> > '
IS> >     #                  '"$request" $body_bytes_sent "$http_referer" '
IS> > -    #                  '"$http_user_agent" "http_x_forwarded_for"';
IS> > +    #                  '"$http_user_agent" "$host"
IS> > "$http_x_forwarded_for"';
IS> > 
IS> >     #access_log  logs/access.log  main;
IS> 
IS> Это критично только для виртуального хостинга. Обычно логи делают на уровне
IS> сервера.

Ну тогда по крайней мере доллар в форвардед_фор ;)


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------





More information about the nginx-ru mailing list