How to redirect to HTTP after removing the Letsencrypt

September 24, 2017 211 views
Let's Encrypt Ubuntu 16.04

Hello friends,

I installed correctly a letsencrypt, but as my script had not supported for https://I removed a letsencrypt, but now the site is not doing the redirect to http://
I have many pages indexed on Google but when accessing as https://seems blank I want to do redirection to http://

Using digitalocean, Serverpilot, Ubuntu 16/04
When using the error I want Use only

Inside the file / videoonlinegratis.conf

server {
listen 80;
listen [::]:80;

root /srv/users/serverpilot/apps/videoonlinegratis/public;

accesslog /srv/users/serverpilot/log/videoonlinegratis/videoonlinegratisnginx.access.log main;
errorlog /srv/users/serverpilot/log/videoonlinegratis/videoonlinegratisnginx.error.log;

proxysetheader Host $host;
proxysetheader X-Real-IP $remoteaddr;
setheader X-Forwarded-For $proxyaddxforwarded_for;

include /etc/nginx-sp/vhosts.d/videoonlinegratis.d/.nonssl_conf;
include /etc/nginx-sp/vhosts.d/videoonlinegratis.d/

I have several pages indexed on Google with https://, but I can not redirect to http://

Somebody help me please

Sorry about the English.

Be the first one to answer this question.