Is there a way to disable SSL / TLS for GitHub pages?

I was looking for a place to store some of my XML schemas publicly without actually posting them. I decided that GitHub Pages would be the perfect platform. I was right, but I can’t figure out how to disable SSL / TLS. When I try to get my pages with plain old HTTP, I get a response 301 Moved Permanently.

So obviously this is not a big deal. In the worst case, it takes a little longer to load my circuits, and people usually only use the circuits that they already cached. But is there no way to disable this?

+4
source share
3 answers

From github help:

The HTTPS requirement is required for GitHub Pages created after June 15, 2016 and for the use of the imtqy.com domain.

So you have two solutions:

+3
source

If you use Github Pages to store the schema, I highly recommend https://rawgit.com

+2
source

?

, curl -L .

( XML ):

vonc@vonvb C:\test
> curl --create-dirs -L -o .repo/local_manifests/local_manifest.xml -O -L https://raw.githubusercontent.com/legaCyMod/android_local_manifest/cm-11.0/local_manifest.xml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   530  100   530    0     0   1615      0 --:--:-- --:--:-- --:--:--  1743

vonc@voncvb C:\test
> tree /F .
C:\TEST
└───.repo
    └───local_manifests
            local_manifest.xml
+1

Source: https://habr.com/ru/post/1651002/


All Articles