Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Regular expression length syntax not working?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
jakewow
January 03, 2018 07:32AM
Registered: 6 years ago
Posts: 1
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;
}
Reply
Quote
RSS
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