added rewrite to location/proxy & vhost
added rewrite to location/proxy & vhost

With credit to https://github.com/OmarzT
Merge pull request #235 from 3flex/location-rewrite-rules

added rewrite to location/proxy & vhost
revert change priority type
Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev