atom feed29 messages in ru.sysoev.nginxRe: Rewrite help when files do NOT ha...
FromSent OnAttachments
pk899Jun 1, 2011 5:00 am 
António P. P. AlmeidaJun 1, 2011 6:05 am 
pk899Jun 1, 2011 6:22 am 
António P. P. AlmeidaJun 1, 2011 6:30 am 
Edho P AriefJun 1, 2011 6:32 am 
pk899Jun 1, 2011 7:02 am 
António P. P. AlmeidaJun 1, 2011 7:23 am 
pk899Jun 1, 2011 7:31 am 
António P. P. AlmeidaJun 1, 2011 7:53 am 
pk899Jun 1, 2011 8:29 am 
António P. P. AlmeidaJun 1, 2011 8:42 am 
pk899Jun 2, 2011 3:10 am 
António P. P. AlmeidaJun 2, 2011 11:53 am 
Marcos OrtizJun 2, 2011 12:27 pm 
Alexandr GomoliakoJun 2, 2011 1:12 pm 
Marcos Ortiz ValmasedaJun 2, 2011 1:17 pm 
pk899Jun 2, 2011 4:33 pm 
António P. P. AlmeidaJun 2, 2011 5:40 pm 
pk899Jun 2, 2011 6:21 pm 
António P. P. AlmeidaJun 2, 2011 6:44 pm 
pk899Jun 2, 2011 7:08 pm 
António P. P. AlmeidaJun 2, 2011 7:19 pm 
Antoine BonavitaJun 3, 2011 1:33 am 
pk899Jun 3, 2011 11:37 am 
pk899Jun 3, 2011 11:40 am 
António P. P. AlmeidaJun 3, 2011 11:46 am 
pk899Jun 3, 2011 9:26 pm 
António P. P. AlmeidaJun 4, 2011 9:08 am 
pk899Jun 4, 2011 10:51 pm 
Subject:Re: Rewrite help when files do NOT have a ".php" extension
From:pk899 (ngin@nginx.us)
Date:Jun 3, 2011 11:40:10 am
List:ru.sysoev.nginx

pk899 Wrote:

-------------------------------------------------------

i managed to get it all installed, but the php-fpm and "location" stuff is just too difficult for now. will deal with that later.

right now, at least to gain from nginx serving static files and some bits of proxy_cache, i did this:

1. setup nginx on port 81 2. left apache on 80 (as my site is live)

this worked. proxying was happening etc.

then, to make it live, i did this:

1. moved apache to 8081 2. moved nginx to 80 3. restarted both, first apache, then nginx

but now, with nginx being my front server, i just get 404 file not found.

any idea why? why does just port change lead to this?

thanks

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: 216.248.232.5, server: MYDOMAIN.com, request: "GET /itsurvey HTTP/1.1", upstream: "http://77.12.16.8:8081/itsurvey", host: "MYDOMAIN.com"

why is "upstream" connection being "refused"? and how is "upstream" different from "proxy"?

thanks for any ideas or advice.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,202956,203715#msg-203715