I wanted to write this for some time but forgot about it. With a VPS, Nginx Proxy Manager and a domain name you can setup your own mirror of blocked sites pretty easily.
For free domain you can either use the first year free domains or get the cheapest tld Compare Prices of All Top-Level Domains | TLD-List as of writing its .feedback . Then add the domain to cloudflare by changing the nameservers, this will allow you to enable cloudflare proxy (if you want) and easily renew ssl certificates.
You can setup Nginx Proxy Manager by following this guide:
However, instead of setting up the certs as shown under "Provisioning SSL Certificates", I would recommend setting up a wildcard cert, it will make adding ssl to domains easier in long term:
Now let's move on to mirroring websites, you should be able to mirror most of the simple static sites fairly easily (youtube and more complex sites won't work). First you need to add another host with name set to whatever you want, as I was mirroring 1337xx.to I chose leetx.domain.tld
You don't have to set ip and forward port here to link-removed as it'll be overridden by custom config in the next step.
Step 2: Click on advanced and add this to the textbox underneath "Advanced Nginx Configuration":
Replace 1337xx.to with the site you want to proxy and replace leetx.domain.tld with the subdomain you chose earlier.
Now you can visit leetx.domain.tld and enjoy unblocked sites without VPN.
For free domain you can either use the first year free domains or get the cheapest tld Compare Prices of All Top-Level Domains | TLD-List as of writing its .feedback . Then add the domain to cloudflare by changing the nameservers, this will allow you to enable cloudflare proxy (if you want) and easily renew ssl certificates.
You can setup Nginx Proxy Manager by following this guide:
Simple Virtual Host Management With NGINX Proxy Manager
Learn to manage virtual hosts and SSL certificates quickly and easily with the NGINX Proxy Manager in this step-by-step tutorial!
adamtheautomator.com
However, instead of setting up the certs as shown under "Provisioning SSL Certificates", I would recommend setting up a wildcard cert, it will make adding ssl to domains easier in long term:
Now let's move on to mirroring websites, you should be able to mirror most of the simple static sites fairly easily (youtube and more complex sites won't work). First you need to add another host with name set to whatever you want, as I was mirroring 1337xx.to I chose leetx.domain.tld
You don't have to set ip and forward port here to link-removed as it'll be overridden by custom config in the next step.
Step 2: Click on advanced and add this to the textbox underneath "Advanced Nginx Configuration":
Code:
location / {
proxy_ssl_server_name on;
gzip off;
proxy_set_header Accept-Encoding "";
add_header Host 1337xx.to;
proxy_pass_request_headers on;
proxy_http_version 1.1;
proxy_pass https://1337xx.to;
sub_filter_types text/html application/javascript application/x-javascript text/javascript;
sub_filter "1337xx.to" "leetx.domain.tld";
sub_filter_once off;
}
Replace 1337xx.to with the site you want to proxy and replace leetx.domain.tld with the subdomain you chose earlier.
Now you can visit leetx.domain.tld and enjoy unblocked sites without VPN.