Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Nginx add location details to URL when we stop decoding URL
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
malintha
February 14, 2015 01:22AM
Registered: 9 years ago
Posts: 5
hi Maxim ,
Your answer is right and thank you for it. I applied it with small correction.
set $modified_uri $request_uri;
if ($modified_uri ~ "^/gateway(/.*)") {
set $modified_uri $1;
}
proxy_pass http://upstream$1;
Thank you,
Malintha
Reply
Quote
RSS
Subject
Author
Posted
Nginx add location details to URL when we stop decoding URL
malintha
February 13, 2015 01:07AM
Re: Nginx add location details to URL when we stop decoding URL
Maxim Dounin
February 13, 2015 08:00AM
Re: Nginx add location details to URL when we stop decoding URL
malintha
February 14, 2015 01:22AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 300
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018