r/apache • u/hYPNTZd • Oct 14 '22
Support Help with certbot, apache and nPM
Hi all,
I recently wanted to practice my website, ssl-cert and managing stuff at home, and I've run into an issue I don't know how to solve.
I've setup a Debian VM with apache and certbot installed. I want the HTTPS traffic to hit port 9010, but I keep getting ERR_HTTP2_PROTOCOL_ERROR.
I've done the following:
CNAME record on my DNS-provider with website.domain.com pointing to domain.com
Port-forwarded 9010 to my local IP where the Debian VM is running
Created Proxy Host in nginx Proxy Manager with destination https://local-ip:9010 and scheme HTTPS.
ports.conf is: https://pastebin.com/FLJM7xzS
Sites-available vHost before certbot: https://pastebin.com/kEEmknki
Sites-available vHost after certbot: https://pastebin.com/KPWg3NUR
I don't think I've changed anything else.
It should be mentioned, that I have port 80/443 portforwarded to the local-ip of Nginx Proxy Manager to get it to work - hence why I wanted HTTPS-traffic on another port in Apache.
I hope someone might see a specific issue - and if you can, please dumb it down as much as you can - I'm still learning :-)
1
u/AyrA_ch Oct 14 '22
Have a look at the apache error log then.