:14 +0100, henrique matias wrote:
> [snip]
> >
> > brings me the error: Starting nginx: nginx: [emerg] "proxy_pass"
> > cannot have URI part in location given by regular expression, or
> > inside named location, or inside "if" statement, or inside
>
in order to map the
addresses to "language codes", and then execute the rewrite.
peace
On 5 May 2013 09:16, Francis Daly wrote:
> On Sun, May 05, 2013 at 02:38:17AM +0100, henrique matias wrote:
>
> Hi there,
>
> > Also i tried adding the address to the try_files:
Perhaps no matter if i change number of workers, or worker connections,
there's always some super late connections on my "ab" tests..
Am very new to benchmark, but the way am doing now is:
ab -n 8000 -c 1000 http://address_to_a_plain_text_file
ab -n 8000 -c 1000
http://address_to_a_rails_address
Multiple server declarations sharing the same configuration ( probably
using some sort of include? )
What you reckon? Any suggestion ?
On 5 May 2013 02:21, henrique matias wrote:
> My first try was to change my location / { } to proxy pass to another
> language, so i could try "the ba
inside "if" statement, or inside
"limit_except" block in /etc/nginx/nginx.conf:79
my nginx version is 1.3.15.
will keep trying, if someone knows how to work this around, would be cool,
i guess this happens quite often :P
[s]
On 4 May 2013 22:48, Francis Daly wrote:
> On
*i meant: This is my "working" nginx.config ( without the rewrite rules ):
On 29 April 2013 22:02, henrique matias wrote:
> Hello guys,
>
> Am having trouble setting up my nginx.config to transparently proxy the
> subdomains and domains to the same app, but with differ
Hello guys,
Am having trouble setting up my nginx.config to transparently proxy the
subdomains and domains to the same app, but with different "path
components" appended to the $uri
example:
mydomain.it/PATH should return ~> mydomain.com/it/PATH
using regexp:
(www\.)?mydomain\.(it|jp|es|de) to r
Am completely sure its possible, am just not the nginx specialist, so i
might not point you to the best directions.
But as far as i understand in my little time together with things beautiful
thing called nginx, you should have a look on this:
http://wiki.nginx.org/HttpCoreModule#root
let me kno