Re: URI в 404 скрипт отдать

Pavel Sokolov artdesign at mail.ru
Wed Dec 14 17:05:08 MSK 2005


> server {
>      set $orig_args  $args;
> 
>      error_page  404 /404.php;
> 
>      location = /404.php {
>           proxy_pass     http://127.0.0.1:80/404.php;
>           proxy_set_header  Host    $host;
>           proxy_set_header  X-URI   $request_uri?orig_args;
>      }

2005/12/14 08:01:58 [emerg] 27107#0: unknown "args" variable

--
Pavel Sokolov
http://crea70r.photosight.ru







More information about the nginx-ru mailing list