fixing paths for nginx hookup