I’m currently trying to set up a reverse proxy and found this repository “https://github.com/duy13/vDDoS-Protection”. Since I own several servers, I tested the instructions described in the repository with two Hetzner vServers. The configuration worked fine, the requests were forwarded to the backend.
# Website Listen Backend Cache Security SSL-Prikey SSL-CRTkey domain.com http://0.0.0.0:80 http://backend_IP:80 no 200 no no domain.com https://0.0.0.0:443 https://backend_IP:443 no 200 /vddos/ssl/domain.com.pri /vddos/ssl/domain.com.crt
But now I am faced with the problem to implement this in my live system (frontend “Veesp”, backend “OVH”). With the same configuration I get a 523 - Origin is unreachable error. I’ve already asked on Stackoverflow what could be the reason and was referred to Cloudflare Support, because the problem could have to do either with Cloudflare itself or with the hoster of the backend.
So here is the question, how I could solve this problem, because the configuration worked with 2 Hetzner machines, but with two different hosters it led to the above mentioned error.