#27 replace the use of getSelfRoutedNoQuery instead of getSelfURLQuery. Nginx compatibility