Setup a reverse proxy for the backend server possible?

Annaisha

Newbie
Joined
Apr 14, 2024
Messages
42
Reaction score
17
Does anyone have experience setting up reverse proxy to prevent DMCA copyright on your own VPS/Dedicated server like Hetzener and contabo, Namecheap, etc.

Example,

  • Backend server (reverse proxy) for offshore server cheap
  • Normal server anything is from Namecheap and OVH, contabo, etc


As mentioned by Jennykumar explained: https://www.blackhatworld.com/seo/how-will-these-dmca-ignored-hosts-work.1579268/post-17471621, but that wasn't clear enough to give an explanation more how the reverse proxy setup was created.

I would like to set up a reverse proxy as a backend server someone can explain to me about setup as Ubuntu or Almalinux to set up a reverse proxy.
 
nginx + proxy_pass. There are tons of guides.
 
nginx + proxy_pass. There are tons of guides.
I've set up my backend server for the same control panel and Almalinux 8 changed the IP from Cloudflare DNS and worked. But one mailcow that I would need to set up on my backend server.

So here, nginx configuration:
Code:
location ~ ^/.* {
    proxy_pass https://YOUR_IP_SERVER;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    # Other directives specific to this location, if any
}
 
Back
Top