Fixed bugged nginx configuration