Rewrite help when files do NOT have a ".php" extension
António P. P. Almeida
appa at perusio.net
Fri Jun 3 22:47:10 MSD 2011
On 3 Jun 2011 19h40 WEST, nginx-forum at nginx.us 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:
> 220.127.116.11, server: MYDOMAIN.com, request: "GET /itsurvey
> HTTP/1.1", upstream: "http://18.104.22.168:8081/itsurvey", 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.
More information about the nginx