kopia lustrzana https://github.com/alecmuffett/eotk
commit: clean up legacy NEW_V3_ONION.
rodzic
21f824218f
commit
02c6cb0c85
|
@ -211,9 +211,9 @@ Create a config file with a `.tconf` suffix - we'll pretend it's
|
|||
|
||||
```
|
||||
set project myproject
|
||||
hardmap %NEW_ONION% foo.com
|
||||
hardmap %NEW_ONION% foo.co.uk
|
||||
hardmap %NEW_ONION% foo.de
|
||||
hardmap %NEW_V3_ONION% foo.com
|
||||
hardmap %NEW_V3_ONION% foo.co.uk
|
||||
hardmap %NEW_V3_ONION% foo.de
|
||||
```
|
||||
|
||||
...and then run
|
||||
|
@ -290,7 +290,7 @@ So if your browser tells you that you are fetching content from
|
|||
`cdn7.dublin.ireland.europe.foo.co.jp`, you should add a line like:
|
||||
|
||||
```
|
||||
hardmap %NEW_ONION% foo.co.jp europe ireland.europe dublin.ireland.europe
|
||||
hardmap %NEW_V3_ONION% foo.co.jp europe ireland.europe dublin.ireland.europe
|
||||
```
|
||||
|
||||
...and EOTK should do the rest. All this is necessary purely for
|
||||
|
@ -329,9 +329,9 @@ avoid the actual "hostnames" as described above:
|
|||
|
||||
```
|
||||
set project fooproj
|
||||
hardmap %NEW_ONION% foo.com.au syd per
|
||||
hardmap %NEW_ONION% foo.net cdn
|
||||
hardmap %NEW_ONION% foo.aws.amazon.com
|
||||
hardmap %NEW_V3_ONION% foo.com.au syd per
|
||||
hardmap %NEW_V3_ONION% foo.net cdn
|
||||
hardmap %NEW_V3_ONION% foo.aws.amazon.com
|
||||
```
|
||||
|
||||
Onion mapping/translations will be applied for all sites in the same project.
|
||||
|
|
|
@ -326,7 +326,7 @@ in [the example template configuration file](../demo.d/example.tconf)
|
|||
These are used in Template Configuration (`.tconf`) files, and do not
|
||||
represent real environment variables.
|
||||
|
||||
* NEW_ONION
|
||||
* NEW_V3_ONION
|
||||
|
||||
Used only in template configs (`*.tconf` files) to show the point
|
||||
where a newly created onion address should be inserted.
|
||||
|
|
|
@ -6,7 +6,7 @@ exec perl -x $0 "$@";
|
|||
my %known =
|
||||
(
|
||||
# demo fakes
|
||||
'NEW_ONION' => 1,
|
||||
'NEW_V3_ONION' => 1,
|
||||
'SCRIPT_PAUSE' => 1,
|
||||
'' => 1, # an empty escape character
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue