K
K
koshiii2017-08-08 12:38:28
Nginx
koshiii, 2017-08-08 12:38:28

How to write a rule for nginx to rewrite all clicks on a link to one specific dashboard?

How to write a rule for nginx to rewrite all clicks on a link to one specific dashboard?
There is a link

https://$host:443/en-GB/account/login?return_to=/en-GB/app/dashboard_xxx/xxx

you need to make it so that no matter which link the user clicked on $host:443, there was always a redirect to
https://$host:443/en-GB/account/login?return_to=/en-GB/app/dashboard_xxx/xxx

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question