Fixed path detection for nginx