SSI goes to backend

Marcus Clyne maccaday at gmail.com
Fri Sep 4 19:17:31 MSD 2009


>> I tried that, but am getting the following message in the error log:
>>
>> 2009/09/04 17:10:10 [error] 18834#0: *1 zero length URI to proxy, 
>> client: 127.0.0.1, server: localhost, request: "GET /ssi/test.shtml 
>> HTTP/1.1", subrequest: "/proxy-google/google.com", host: "localhost"
>>     
>
> - /proxy-google/google.com
> + /proxy-google/google.com/
>
>   

If I use that setup with the resolver defined as 127.0.0.1, I get 
multiple copies of the following error:

2009/09/04 17:56:56 [alert] 22981#0: recv() failed (111: Connection refused)

Do I need a DNS server running?  I tried it with multiple domains, and 
the same errors are given.


If I use that setup without the resolver defined, there's a segmentation 
fault :

2009/09/04 18:08:44 [error] 12059#0: *2 no resolver defined to resolve 
google.com, client: 127.0.0.1, server: localhost, request: "GET 
/ssi/test.shtml HTTP/1.1", subrequest: "/proxy/google.com/", host: 
"localhost"
2009/09/04 18:08:44 [notice] 12053#0: signal 17 (SIGCHLD) received
2009/09/04 18:08:44 [alert] 12053#0: worker process 12059 exited on 
signal 11

That's on version 0.8.13 with no 3rd-party modules installed.

Marcus.





More information about the nginx mailing list