Welcome! Log In Create A New Profile

Advanced

Re: PCRE with NGINX

Francis Daly
May 05, 2015 08:22AM
On Tue, May 05, 2015 at 04:50:28AM -0400, nginxsantos wrote:

Hi there,

> I looked @ http://nginx.org/en/docs/http/server_names.html
> It sames put it inside " " and once I did that it is working

Yes - "wrap the regex in double quotes" is the right answer.

This line does appear in the documentation for "rewrite" and for "if";
but not for "location" or "map".

nginx documentation improvement suggestion:

It may be worth adding it to those (and anywhere else that uses regexes);
or to link from everywhere to a "regex in nginx" document.

(Yes, I know "patches welcome", and I'm not providing any. I'm not sure
whether "duplicate" or "link" is better.)

Thanks,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

PCRE with NGINX

nginxsantos May 05, 2015 03:29AM

Re: PCRE with NGINX

itpp2012 May 05, 2015 03:42AM

Re: PCRE with NGINX

nginxsantos May 05, 2015 03:49AM

Re: PCRE with NGINX

itpp2012 May 05, 2015 04:24AM

Re: PCRE with NGINX

nginxsantos May 05, 2015 04:46AM

Re: PCRE with NGINX

nginxsantos May 05, 2015 04:50AM

Re: PCRE with NGINX

Francis Daly May 05, 2015 08:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready