Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit a99a026

Browse files
readme
1 parent af31728 commit a99a026

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ A simple python based proxy to secure github pages via a small cloud-proxy-insta
1010

1111
* Secured Page by Proxy:
1212
* https://my-secure-github-page.comsysto.com/
13-
* user: `bob`
14-
* pass: `5678`
13+
* You can login on the page with your GitHub Username and [personal access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) (which can have no scopes)
14+
* The proxy is running on this instance with the following parameters (you can see below what that means)
15+
* `cs-gh-proxy -e wsgi -p 8881 --authType allGitHubUsers --owner comsysto --repository github-pages-basic-auth-proxy --obfuscator 086e41eb6ff7a50ad33ad742dbaa2e70b75740c4950fd5bbbdc71981e6fe88e3 &`
1516
* GitHub Page that is proxied:
1617
* https://comsysto.github.io/github-pages-basic-auth-proxy/086e41eb6ff7a50ad33ad742dbaa2e70b75740c4950fd5bbbdc71981e6fe88e3/
1718
* (normally you would not tell anyone that URL. But just that you see that these pages are identical)
@@ -22,16 +23,15 @@ A simple python based proxy to secure github pages via a small cloud-proxy-insta
2223
* If you have a private organization github repository.
2324
* If you have a `gh-pages` branch in that repository.
2425
* And if you want to secure the gh-pages page via basic auth, then this proxy is for you.
25-
* Only members of the GitHub organization and users you specify manually will have access
26-
* you can specify additional users with passwords that are not github users
26+
* Only members of the GitHub organization OR normal GitHub users will have access
2727

2828
### 1.2 What it will do
2929

3030
![](./doc/basic-proxy.png)
3131

3232
* Proxy between GitHub Pages and User
3333
* Ask for Authentication (github credentials)
34-
* Only proxy through if user is member of GitHub Organization or in list of users allowed to access
34+
* Only proxy through if user is member of GitHub Organization or normal GitHub user (depends on how you run proxy)
3535

3636
### 1.3 How is this secure?
3737

@@ -53,7 +53,7 @@ We will do demo setup for the following scenario:
5353
### 2.1 Prerequisites
5454

5555
* You will need nginx, python 3 and git.
56-
* on Ubuntu: `apt-get install git nginx python3-setuptools`
56+
* on Ubuntu: `apt-get install git nginx python3-setuptools build-essential python3-dev`
5757
* optional a ssl certificate
5858

5959
### 2.2 nginx setup

0 commit comments

Comments
 (0)