mirror of
https://github.com/aarmea/fahrengit-451.git
synced 2026-03-22 08:58:15 +00:00
Document HTML geoblock errors
This commit is contained in:
parent
08d61b7ac7
commit
2fbda95d1c
1 changed files with 2 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ would compromise the project's stated goals of parental autonomy and user privac
|
||||||
├── .env.example ← copy to .env and fill in
|
├── .env.example ← copy to .env and fill in
|
||||||
├── bootstrap_certs.sh ← run once before first `docker compose up`
|
├── bootstrap_certs.sh ← run once before first `docker compose up`
|
||||||
├── config/
|
├── config/
|
||||||
|
│ ├── geoblock_pages/ ← place HTML "blocked" messages here
|
||||||
│ └── geo_rules.yml.example ← copy to geo_rules.yml and edit to configure geo-blocking
|
│ └── geo_rules.yml.example ← copy to geo_rules.yml and edit to configure geo-blocking
|
||||||
├── nginx/
|
├── nginx/
|
||||||
│ ├── Dockerfile ← builds nginx + GeoIP2 dynamic module
|
│ ├── Dockerfile ← builds nginx + GeoIP2 dynamic module
|
||||||
|
|
@ -132,7 +133,7 @@ repos:
|
||||||
# Block all of Germany and France with HTTP 403
|
# Block all of Germany and France with HTTP 403
|
||||||
- locales: ["DE", "FR"]
|
- locales: ["DE", "FR"]
|
||||||
status: 403
|
status: 403
|
||||||
body: "Access to this repository is restricted in your country."
|
body_file: secret-project-de-fr.html # HTML file in config/geoblock_pages/
|
||||||
|
|
||||||
- path: /alice/another-repo
|
- path: /alice/another-repo
|
||||||
rules:
|
rules:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue