Can't visit the website

1. Caddy version (caddy version):

v2.1.1, installed on Debian 9

2. My Caddyfile {
 reverse_proxy {
  header_up Host {}
  header_up X-Real-IP {http.request.remote}
  header_up X-Forwarded-For {http.request.remote}
  header_up X-Forwarded-Port {http.request.port}
  header_up X-Forwarded-Proto {http.request.scheme}

2. The issue I meet

In this way, I can successfully access my site on a server (Debian 9), and now I moved this site to another server(Debian 9, Same configured server, but different ip), using the same Caddyfile, but the site is inaccessible, get error

This site can’t be reached took too long to respond.

Checking the connection
Checking the proxy and the firewall

Why is this? Do I need to cancel the let’s certificate on the old server before applying? Thank you so much.

I found the reason, thanks

Could you please elaborate on what the solution was for the next person to come along?


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