QuiteAFancyEmerald / Holy-Unblocker

Holy Unblocker LTS is a web proxy service that helps you access websites that may be blocked by your network or policy extensions all within your browser with no download or setup. It does this securely and with additional privacy features. This repository is for Holy Unblocker LTS; specifically for the v6.x.x versions. (Star if you fork it!!)⚡
https://holyunblocker.org
GNU Affero General Public License v3.0
529 stars 2.98k forks source link

Subdomains doesnt work #10

Closed rsoorajs closed 3 years ago

rsoorajs commented 3 years ago

http://thisisatestdemo.tk/

The main website works.but when it goes to

https://cdn.thisisatestdemo.tk/google.com

it will not works..can you please check where the error lies ?

my heroku app domain is https://fhdugersru8googtsv43gsubaifivf.herokuapp.com/

IMG_20210104_221358_835 IMG_20210104_221401_288

QuiteAFancyEmerald commented 3 years ago

Subdomains should work lol you probably just have it setup wrong.

You seem to have the record setup correctly on Cloudflare but make sure you do the stuff below. I would also maybe force HTTPS and have SSL set to flexible.

Have you added both cdn.thisisatestdemo.tk, www.thisisatestdemo.tk and thisisatestdemo.tk to your Heroku app? Both would provide separate CNAME records which you would need to use through Cloudflare however once you add the domains to your Heroku app you can just use one record (from one of the three above) and use it as a CNAME value on Cloudflare for www, cdn and @.

Second of all cdn.thisisatestdemo.tk/google.com is not a proper path for Alloy proxy unless you are like using some other proxy hosted on another instance.

Hopefully this helps. :)

rsoorajs commented 3 years ago

I am using via unblocker,i did the exact step which you mentioned.i am attaching the screenshots below and tell me where i am wrong

IMG_20210104_232245_428 IMG_20210104_232238_299 IMG_20210104_232241_232

QuiteAFancyEmerald commented 3 years ago

Are you sure you are using Via Unblocker? All the subdomains just link to the same Holy Unblocker instance.

Via Unblocker isn't like hosted locally on Holy Unblocker. You need another instance for that and you would just add that as a subdomain to your site.

You would then edit /expr/surf.js as needed to navigate to it.

Do you need the Via Unblocker repository by chance, one that works with Heroku?

rsoorajs commented 3 years ago

Are you sure you are using Via Unblocker? All the subdomains just link to the same Holy Unblocker instance.

Via Unblocker isn't like hosted locally on Holy Unblocker. You need another instance for that and you would just add that as a subdomain to your site.

You would then edit /expr/surf.js as needed to navigate to it.

Do you need the Via Unblocker repository by chance, one that works with Heroku?

yeah i need the via unblocker repository.that will be very helpful.

also please add support for https://uffizzi.com/

a free hosting site with lots of features like..free ssll..app never sleeps etc..

rsoorajs commented 3 years ago

Are you sure you are using Via Unblocker? All the subdomains just link to the same Holy Unblocker instance.

Via Unblocker isn't like hosted locally on Holy Unblocker. You need another instance for that and you would just add that as a subdomain to your site.

You would then edit /expr/surf.js as needed to navigate to it.

Do you need the Via Unblocker repository by chance, one that works with Heroku?

so you create another app for via unblocker on heroku and set its domain like https://cdn.holyubofficial.net on heroku and cloudflare.right ? wow cool...i dockerise the code,but aslike i said,people get confused on the subdomains part.else you have to mention the repos which we have to run seperately..

can you give the via unvlocker repo ?

QuiteAFancyEmerald commented 3 years ago

Here is the official Via repository: https://github.com/hypothesis/via

And here is one that works on Heroku: https://github.com/BinBashBanana/PyDodge