Thanks for your help, Francis!
That's an amazingly detailed explanation. The differences in behavior
between 'normal' arguments and the last one are the key but the doc does
not (cannot?) go into details about them.
---
*B. R.*
___
nginx mailing list
ngi
So there is no precedence given to nested regex locations at all? What value
does nesting provide then?
This seems like it should be a fairly simple thing to do. Image/CSS requests to
some folders get handled one way, and image/CSS requests to all other folders
get handled another way. This is
On Mon, Feb 17, 2014 at 02:13:14PM +0100, B.R. wrote:
Hi there,
> What I called 'error handler' was the final argument of the try_files
> directive, the one used if any other one fails to detect a valid
> file/directory.
So: the "uri" argument.
If try_files gets as far as the uri argument, ther
Hello!
On Mon, Feb 17, 2014 at 05:15:45PM +, Brian Hill wrote:
> So it sounds like my only solution is to restructure the locations to avoid
> the original match in /. I don't have access to the servers again until
> tomorrow, but I'm wondering if something like this would work:
>
> locati
So it sounds like my only solution is to restructure the locations to avoid the
original match in /. I don't have access to the servers again until tomorrow,
but I'm wondering if something like this would work:
location / {
#base content
}
location ~ regex2 {
#alternate fo
Hello!
On Fri, Feb 14, 2014 at 04:39:23PM -0500, atarob wrote:
> Creating a module, I want to read in from config desired http header fields.
> Then, during config still, I want to get the struct offset for the fields
> that have dedicated pointers in the header_in struct. It seems that when I
>
Hello !
I tried but cannot trust myself (and what I tried) : when streaming /
playing video in the client browser, does the client's port ($remote_port)
may change ?
in the logs when configuring remote_port
I believe that if the connection is dropped, another port will be assigned,
but in case ev
Hello!
On Fri, Feb 14, 2014 at 04:59:26PM -0500, atarob wrote:
> Looking through the codebase, I see a lot of very short helper like
> functions that are defined in .c files with prototypes in .h files. This
> means that the compiler cannot inline them outside of that .c file. Am I
> wrong? How
Hello!
On Sat, Feb 15, 2014 at 02:23:26AM +0400, Valentin V. Bartenev wrote:
> On Friday 14 February 2014 17:11:37 jove4015 wrote:
> [..]
> > Is there any way to set up the proxy to the upstream so that it proxies HEAD
> > requests as HEAD requests, and GET requests as normal, and still caches
>
Sorry for my fluffy terminology.
What I called 'error handler' was the final argument of the try_files
directive, the one used if any other one fails to detect a valid
file/directory.
We ended concluding that:
try_files $uri $uri/; was invalid, looping internally for an infinite
amount of time
try
Hello!
On Mon, Feb 17, 2014 at 08:55:02AM +, Brian Hill wrote:
> Close, it's more akin to:
>
> location / {
> location ~ regex1 {
> # regex inside /
> }
> }
>
> location ~ regex2 {
> location ~ regex3 {
> # regex inside regex2
>
Hello!
On Mon, Feb 17, 2014 at 02:08:47PM +0200, Beeblebrox wrote:
> Is there any possibility to get some input re this problem?
> Where can I start looking for answers?
http://www.catb.org/~esr/faqs/smart-questions.html
--
Maxim Dounin
http://nginx.org/
__
Is there any possibility to get some input re this problem?
Where can I start looking for answers?
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Sun, Feb 16, 2014 at 11:58:00AM +, Paulo Ferreira wrote:
> Good Morning.
>
>
> I'm making a site and I want to make the link more usable so I used the
> Apache's RewriteCond which is the one I more comfortable with. I know that
> there are a site or two that lets me convert and so
On 17 February 2014 10:02, Bozhidara Marinchovska
wrote:
> My question is what may be the reason when downloading the example file with
> download manager not to match limit_rate directive
"Download managers" open multiple connections and grab different byte
ranges of the same file across those c
Hi, again
FreeBSD 9.1-STABLE #0: Sat May 18 00:32:18 EEST 2013 amd64
nginx version: nginx/1.4.4
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin
On Mon, Feb 17, 2014 at 08:55:02AM +, Brian Hill wrote:
Hi there,
> Regex 1 & 3 look for the same file types and are identical, but contain
> different configurations based on the parent location. Currently, regex1 is
> catching all matches, irrespective of the parent location.
>
> If I un
Close, it's more akin to:
location / {
location ~ regex1 {
# regex inside /
}
}
location ~ regex2 {
location ~ regex3 {
# regex inside regex2
}
}
And the question is: where will a request matching both regex1 and regex3 be
On Mon, Feb 17, 2014 at 12:42:28AM +0100, B.R. wrote:
Hi there,
> If I may, there is still a little something bothering me:
> The condition required for a loop to be created is that $uri (= /) doesn't
> match any file, thus redirecting and trying again.
> Why on Earth does '/' as error handler ma
19 matches
Mail list logo