Added a nil mappings condition

Sometimes, we known the virtual path of the nginx, so I added the nil condition. when I specify the nil to @mappings, I will specify virtual path instead of absolute path. I hope there is help