prefixes: Allow instances to be skipped

This commit allows an instance to be skipped for the purposes of the
resolver by adding a file named `prefixes.skip` to the instance base
directory. This can be useful for dummy or cloned instances.
This commit is contained in:
Tom Wiesing 2022-08-07 16:30:50 +02:00
parent 1d1f61e6b4
commit 5f532d0841
No known key found for this signature in database
3 changed files with 22 additions and 3 deletions

View file

@ -350,6 +350,11 @@ It should not be neccessary to reload this configuration manually, as it is auto
It is also possible to manually add a URI prefix to an instance.
For this purpose, add a file named `prefixes` to the base directory of the instance, with one prefix per line.
Furthermore, you can also exclude a specific instance from URL prefix resolving.
This should be the case for cloned or backup instances.
For this purpose, add a file named `prefixes.skip` to the base directory of the instance.
This will casuse the instance to be skipped entirely.
## License
This project and associated files in this repository are licensed as follows: