Nginx HTTPS 301 redirect to another TLD (hosted on same server) without showing SSL warning
问题 I own the domains example.com, .com.au, .net, .net.au, ... (8 in total). I want all of these TLD's to 301 redirect to the secure .com domain https://www.example.com I have it working using Nginx for all HTTP requests but not all HTTPS . I have installed a SSL certificate for https://www.example.com and this works for www and non-www without any security warnings (as expected). When browsing to say http://example.net I get redirected to https://www.example.com without security warnings.