Fix 404/500 page for new https