Let's Encrypt Auto SSL on different ports?

loatoday

New member
Joined
Mar 28, 2024
Messages
2
I setup a proxy server in a subdomain on port 9999, and it works just fine without SSL. However, when I try to access it via SSL, I get the "ERR_SSL_PROTOCOL_ERROR" message. Is there a way in DA to make an Auto SSLL certificate for the domain (and subdomain) also work on an alternative port to port 80?
 
I found the answer. If your subdomain is "proxy.yourdomain.tld" then adding the following to Custom HTTPD Configuration in D.A. does the trick:
|*if SUB="proxy"|
ProxyPass / http://localhost:9999/
ProxyPassReverse / http://localhost:9999/
|*endif|

You do have to make sure that you add 9999 to the Configserver Firewall list of allowed ports.
 
Back
Top