Fixes to nginx deploy