I found a Rewrite rule in /etc/apache2/sites-available/000-default.conf
which was:
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.haracoin.com [OR]
RewriteCond %{SERVER_NAME} =haracoin.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
It is in the same location in /etc/apache2/sites-enabled/000-default.conf
which was created when I ran certbot, but can’t remember if it was during the self-signed or the letsencrypt proccess