Installing SSL + HTTPS using a reverse proxy like caddy on Android

Yes, this is the effect of changing http_port and https_port.

You could forward 80 and 443 on your router to 8080 and 8443 on your Android to allow external access on the default ports, but that wont fix direct internal access.

For HTTP and ALPN challenges to work for ACME, this will be required.

2 Likes

I have disabled port 80 and 443 and added port 8080 and port 8443. Is that correct ?

Probably not because I get the errors that you see below :

ACME challenges require public access on ports 80 and 443.

You’ve configured your Android to listen on ports 8080 and 8443 on the LAN.

You need to forward from the internet to your LAN.

1 Like

I don’t understand what should I do. Should I enable again port 80 and 443 on the Android IP : 192.168.1.6 , on my router ?

ACME needs to connect to your server, from the internet, on ports 80 and 443.

You need to forward those public ports 80 and 443 to your Android’s ports 8080 and 8443, where you’ve configured Caddy to listen.

If that is unclear, I’m not sure how else to explain it, I’m sorry. I can’t really simplify any further.

1 Like

I’m sorry,but your explanation sounds generic to me. I’m not experienced. I don’t understand if I should modify something on the router or in the Emby configuration or in the Caddyfile. I can’t believe that you aren’t able to be more specific. Be pratical,tell me which lines should I add and where.

You literally have the port forwarding window open here in your earlier post:

In that window, configure the ports as I explained above. Public ports 80 and 443. LAN ports 8080 and 8443.

There is nothing else to explain. That is what you have to do. I’ve reiterated it for the third time now; if you can’t configure your router, I cannot help any further.

1 Like

Ok. I think I have understood…

1 Like

Does it make sense at this point to keep opened port 8096 and 8920 ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.