Report this

What is the reason for this report?

Redirecting non-www to www and HTTP to HTTPS.

Posted on October 14, 2016

This is the www. link using https https://www.weappm.com.br/

However, when I type weappm.com.br it does not redirect to the www., but to the HTTPS only;

http://imgur.com/a/IpATx

Does someone know what to do?

Thank you!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

remove existing one that you set for HTTP to HTTPS and try adding the following line after listen 80;

rewrite ^/(.*) https://www.weappm.com.br/$1 permanent;

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.