properly get path info under nginx