doc: adds missing geo_redirect_disable config to README.md
This commit is contained in:
parent
1007055da4
commit
201a3ca255
3 changed files with 12 additions and 9 deletions
|
@ -13,7 +13,8 @@ Each origin is required to have a JSON configuration object available in the Red
|
|||
The following keys are meaningful in this object:
|
||||
|
||||
| Key | Description | Default | Example |
|
||||
|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|-----------------------------|
|
||||
|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|-----------------------------|
|
||||
| `geo_redirect_disable` | Disables redirecting to the canonical host when a mirror likely isn't needed based on the viewer's geography. | Requests are redirected based on a hardcoded list of countries unlikely to have implemented censorship. | `true` |
|
||||
| `headers` | Append additional headers to the request sent to the origin. | No additional headers are added. | `{"X-Example": "Hello"}` |
|
||||
| `host_connect` | Override the hostname that is used to connect to the origin. This can be useful in the case that the origin is begind a CDN that you want to avoid having to traverse, either due to DDoS protection tools being falsely triggered or simply to save costs. | The canonical host is used. | `"real-origin.example.com"` |
|
||||
| `host_header` | Override the hostname that is used as the `Host` header when connecting to the origin. | The canonical host is used. | `"news.example.org"` |
|
||||
|
|
0
docker-compose.override.yml
Normal file
0
docker-compose.override.yml
Normal file
2
ilo-sitelen-tu.svg
Normal file
2
ilo-sitelen-tu.svg
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" preserveAspectRatio="xMidYMin meet" viewBox="-30 -20 260 240" data-sitelen-sentence=""><style>ellipse,polygon,polyline,rect,circle,line,path{stroke-width:2;stroke:black;vector-effect:non-scaling-stroke} .filler{stroke:none;}</style><svg width="200" height="200" viewBox="0 0 100 100" y="0" preserveAspectRatio="none" filter="" style="overflow: visible;"><svg viewBox="-1 -1 102 102" preserveAspectRatio="none" height="100" width="100" x="0" y="0" style="overflow: visible;"><use xlink:href="#tp-wg-ilo" transform="matrix(1.2,0,0,1.2,-5,-5)" height="50" width="50" x="0" y="0"></use><use xlink:href="#tp-wg-sitelen" transform="matrix(1.2,0,0,1.2,-5,-15)" height="50" width="50" x="0" y="50"></use><use xlink:href="#tp-wg-tu" transform="matrix(1.2,0,0,1.2,-15,-10)" height="100" width="50" x="50" y="0"></use></svg></svg><symbol viewBox="-2 -2 129 129.125" preserveAspectRatio="none" id="tp-wg-ilo"> <g id="arilo" fill="#FFF" stroke-miterlimit="10"> <path d="M62.5 91.625c0 17.12-11.88 31-29 31s-31-13.88-31-31c0-49 60-47.75 60-47.75v47.75z"></path> <path stroke-linecap="round" stroke-linejoin="round" d="M16.75 79.375l15.312-11.813M23.5 92.876l17-14.5"></path> <path d="M62.5 91.625c0 17.12 11.88 31 29 31s31-13.88 31-31c0-49-60-47.75-60-47.75v47.75z"></path> <path stroke-linecap="round" stroke-linejoin="round" d="M108.25 79.375L92.938 67.562m8.562 25.314l-17-14.5"></path> <path d="M84.125 67.958V101c0 11.943-9.682 21.625-21.625 21.625S40.875 112.943 40.875 101V67.958m74.75-29.833c0 16.43-13.32 29.75-29.75 29.75h-46.75c-16.43 0-29.75-13.32-29.75-29.75s13.32-29.75 29.75-29.75h46.75c16.43 0 29.75 13.32 29.75 29.75z"></path> <circle cx="62.5" cy="23.062" r="20.562"></circle> </g> </symbol><symbol viewBox="-2 -2 129 129.25" preserveAspectRatio="none" id="tp-wg-sitelen"> <g id="iusitelen" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"> <path d="M59.25 106.25c0 9.113 4.72 16.5 10.542 16.5s10.542-7.387 10.542-16.5c0 9.113 4.72 16.5 10.542 16.5s10.542-7.387 10.542-16.5c0 9.113 4.72 16.5 10.542 16.5s10.542-7.387 10.542-16.5V62.5c0-33.137-26.863-60-60-60s-60 26.863-60 60v30c0 16.57 13.25 30 30 30s26.748-16.25 26.748-16.25z" fill="#FFF"></path> <path d="M2.5 72.75S10 70.5 18.25 65.5s19.646-6.067 24.75 2c7.75 12.25 4.25 28.75 1 52.25" fill="none"></path> <path d="M2.25 89.25c14-7 31-13 44.75-10.75" fill="none" stroke-width="3.4"></path> <path d="M6 105.75S29 91 47 96.25" fill="none" stroke-width="3.5"></path> <path d="M121.882 53.9c-5.54 11.665-18.513 19.85-33.632 19.85-20.158 0-36.5-14.55-36.5-32.5 0-12.154 7.492-22.75 18.59-28.324" fill="none" stroke-width="4.5"></path> <path d="M64.616 44.832c22.097-4.793 28.706-5.756 42.995-4.383m-29.36-14.2c.5 11.25 0 31.25 0 31.25m15-31.5c1.5 11.25 1 29.75 1 29.75" fill="none"></path> </g> </symbol><symbol viewBox="-2 -2 69 129" preserveAspectRatio="none" id="tp-wg-tu"> <g id="jitu" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"> <path d="M61.5 62.5c0-10.312-7.534-20.002-16.83-20.002 9.33 0 17.83-9.696 17.83-19.998 0-11.046-8.954-20-20-20h-10c-16.57 0-30 13.43-30 30v60c0 16.57 13.43 30 30 30h10c11.046 0 20-8.954 20-20 0-10.085-8.375-20-17.215-19.997C54 82.503 61.5 72.598 61.5 62.5z" fill="#FFF"></path> <path d="M19.742 90.013h14.36c5.603 0 10.146 4.403 10.146 9.834 0 5.43-4.543 9.834-10.147 9.834h-4.45c-5.604 0-10.147-4.4-10.147-9.832V25.152c0-5.43 4.544-9.834 10.148-9.834h4.45c5.605 0 10.148 4.403 10.148 9.834 0 5.43-4.543 9.834-10.147 9.834H19.744" fill="none" stroke-width="4.5"></path> </g> </symbol></svg>
|
After Width: | Height: | Size: 3.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue