I want to ask about HTTP-to-HTTPS redirections. As we know WWW-to-none-WWW redirections happen by redirecting from the web server side. But when it comes to the https redirection, it can be done by both ways, server-side (Nginx etc...) and application-side (Middleware). I want to know:
- Which of the ways are effective and have more performance.
- The pros and cons of each way considering multiple top-leveldomains andsub-domaindomains on the same server.
Thank you.
Reference:
 
    