SpiceQA
Questions Tags Users Badges

How to write nginx rewrite rule for replacing query param in query string

user_1817735 0
Created Sep 14, 2017 Edited Sep 14, 2017
Viewed 4778

folks!

We have following http request:

http://185.xxx.x.xx/auth/realms/master-realm/protocol/openid-connect/auth?response_type=code&client_id=regportal&redirect_uri=http%3A%2F%2Fsome.domain.com%2Fregportal%2Fsso%2Flogin&state=a49a02d5-f873-453f-9148-61793f11ecf3&login=true&scope=openid

We want to replace redirect_uri from "some.domain.com" to "other.domain.com".

How to do it?

Thanks

nginx-reverse-proxy nginx
Share
1 Answers
Related
Terms of service Privacy policy
Powered by Answer