Rewrite help when files do NOT have a ".php" extension

António P. P. Almeida appa at
Fri Jun 3 22:47:10 MSD 2011

On 3 Jun 2011 19h40 WEST, nginx-forum at wrote:

> in my error log i am seeing messages like this: 
> 2011/06/03 14:32:07 [error] 21125#0: *1768 connect() failed (111:
> Connection refused) while connecting to upstream, client:
>, server:, request: "GET /itsurvey
> HTTP/1.1", upstream: "", host:
> ""
> why is "upstream" connection being "refused"? and how is "upstream"
> different from "proxy"? 

It's the same thing. It's your upstream, for which nginx is acting as
reverse proxy. Proxying request for scripts to Apache.

> thanks for any ideas or advice.

Check your Apache config. Paste your nginx config somewhere so that we
can help you.

--- appa

More information about the nginx mailing list