Welcome! Log In Create A New Profile

Advanced

Re: Regular expression length syntax not working?

January 03, 2018 07:32AM
For those who are looking for the answer:

> A regular expression containing the characters “{” and “}” should be quoted.

So, his location directive:
location ~ ^/event/[0-9,A-Z]{16}/info$ {
proxy_pass http://localhost:7777;
}

Should look like this in order to work:
location ~ "^/event/[0-9,A-Z]{16}/info$" {
proxy_pass http://localhost:7777;
}
Subject Author Posted

Regular expression length syntax not working?

hyperion December 10, 2014 09:51PM

Re: Regular expression length syntax not working?

Francis Daly December 11, 2014 03:14AM

Re: Regular expression length syntax not working?

hyperion December 11, 2014 12:09PM

Re: Regular expression length syntax not working?

jakewow January 03, 2018 07:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 179
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