Fixes to nginx setup.