proxy dynamic requests to apache
Roxis
roxis at list.ru
Fri Jan 11 18:20:22 MSK 2008
On Friday 11 January 2008, Stefanita rares Dumitrescu wrote:
> i really don't get it:
>
> i modified
>
> location ~* \.php$ {
> proxy_pass http://localhost:8000/;
> proxy_redirect off;
> proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_for;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header Host $http_host;
>
>
> [root at fs01:/usr/local/etc/nginx] ngr
> nginx not running? (check /var/run/nginx.pid).
> Starting nginx.
> 2008/01/11 15:17:53 [emerg] 56710#0: "proxy_pass" may not have URI part
> in location given by regular expression, or inside named location, or
> inside the "if" statement, or inside the "limit_except" block in
> /usr/local/etc/nginx/nginx.conf:81
- proxy_pass http://localhost:8000/;
+ proxy_pass http://localhost:8000;
More information about the nginx
mailing list