Finally got nginx to work