I messed up and exceeded the limit of letsencript certs i could issue so i got a free ssl cert from ssl.com and it works as expected when using https protocol, but when i use http, nginx return the welcome sign. Nginx behaves as if there are two different sites on the same domain, one with https where it access WordPress and another using HTTP where there is suppose to be a html site.
I did add a ssl.conf file with the content bellow to enable the SSL cert and to force http to https, does anybody know what am i doing wrong?
`
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
if ($scheme = http) {
return 301 https://$host$request_uri;
}
ssl_certificate /etc/ssl/www_domain_tld.chained.crt;
ssl_certificate_key /etc/ssl/www_domain_tld.key;
ssl_stapling_verify on;
`