Update your web application for example (PHP) first then how ever many hours later when all caches for your web application have cleared restart your Nginx so it only accepts secure links. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275668,275669#msg-275669