proxy dynamic requests to apache

Stefanita rares Dumitrescu lists at ruby-forum.com
Fri Jan 11 18:16:31 MSK 2008


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

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list