map problem : how to debug it ?
gperrot
nginx-forum at forum.nginx.org
Wed Apr 13 09:41:53 UTC 2022
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 mapping with Nginx ?
For the moment, my conf is :
map $uri $new_uri {
include /etc/nginx/conf/doc.map;
}
If I type https://domain1.com/Doc.html, the map for action3 works but if I
type https://domain1.com/Doc.html#case1 or
https://domain1.com/Doc.html#case2, the map doesn't work.
Any idea how to solve that ?
Thanks in advance for your help.
Gilles
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293930,293948#msg-293948
More information about the nginx
mailing list