How can I get certbot to stop modifying /etc/apache2/ports.conf, but still autorenew?
I have a ports.conf that looks like this
NameVirtualHost 127.0.0.1:8080
Listen 127.0.0.1:8080
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
I am using nginx to redirect http traffic to apache, as I have a flask server running at http://mydomain/api/ recieving requests.
The problem I am having is that since I set up certbot with apache, it keeps adding this line to my ports.conf file which then crashes apache :(
Listen 80
Does anyone know how to resolve this?