Re: map problem : how to debug it ?

2022-04-13 Thread gperrot
Hello Igor, Thanks a lot for your complete answer. So if I well understood, no way to make a nginx redirection based on #anchor passed in URL ? No workaround possible ? We have a code including help link which contains anchors, code we can change easily since many users have it. Thanks in advan

Re: map problem : how to debug it ?

2022-04-13 Thread gperrot
Thanks a lot for all your answers ! Since I have the case below with anchor (fragment-ID in URL to map to one specific action in my doc.map : /Doc.html#case1 https://domain2.com/action1; /Doc.html#case2 https://domain2.com/action2; /Doc.html https://domain2.com/action3; How can I do this kind of

map problem : how to debug it ?

2022-04-12 Thread gperrot
Hello, I am using nginx/1.16.1 on CentOS Linux 7. I am using map directive for managing a large number of redirects from one server to another server : map $request_uri $new_uri { include /etc/nginx/conf/redirect.map; include /etc/nginx/conf/documentation.map; } In /etc/nginx/conf/docum