I am moving from one domain (A) to another (B) and would like to setup 301 redirects in Nginx. There are 22 links I would like to redirect to another 22 links, however multiple sites say that I should create a rule for each https, http, https://www and http://www. So that makes 88 (A) links pointing to the 22 (B) HTTPS links on the new domain.
Furthermore I need to be able to add the ability to redirect everything else that is not accounted for in the links above from (A) to (B)
Attached are the links and my .conf file.