HTTP request to an HTTPS server Caddy reverse proxy

Hi, I used Debian/Ubuntu installation guide and installed the Jitsi server, it’s up and running. But I want to reverse proxy it with caddy, I get Client sent an HTTP request to an HTTPS server error.
This is my Jitsi section at caddyfile: {

If you are going to put a reverse proxy in front, then proxy to the HTTP port instead, there is no need to do HTTPS twice.

1 Like

It is 80, right? When I reverse proxy it I get “This page is not redirecting correctly”(This on Firefox, It’s TOO_MANY_REDIRECTS on Chromium) error.

Yep, 80. I suppose it might be because you have 2 web servers, nginx and Caddy. You may want to disable the HTTPS handling in nginx completely.