add info about cachebuster to readme
This commit is contained in:
parent
97f58bbbe3
commit
71242d37ce
11
README.md
11
README.md
|
@ -45,6 +45,8 @@ transbeam is configured with the following environment variables:
|
||||||
recommend setting up fail2ban to throttle password attempts;
|
recommend setting up fail2ban to throttle password attempts;
|
||||||
transbeam logs failed attempts along with IP addresses, in the form
|
transbeam logs failed attempts along with IP addresses, in the form
|
||||||
`Incorrect authentication attempt from 203.0.113.12`.
|
`Incorrect authentication attempt from 203.0.113.12`.
|
||||||
|
- `TRANSBEAM_CACHEBUSTER`: query string that will be appended to CSS
|
||||||
|
and JS files, to force re-fetching of cached files when needed.
|
||||||
- `RUST_LOG`: log levels, for the app as a whole and/or for specific
|
- `RUST_LOG`: log levels, for the app as a whole and/or for specific
|
||||||
submodules/libraries. See
|
submodules/libraries. See
|
||||||
[`env_logger`](https://docs.rs/env_logger/latest/env_logger/)'s
|
[`env_logger`](https://docs.rs/env_logger/latest/env_logger/)'s
|
||||||
|
@ -58,9 +60,12 @@ transbeam is configured with the following environment variables:
|
||||||
nix run git+https://git.xeno.science/xenofem/transbeam?ref=main
|
nix run git+https://git.xeno.science/xenofem/transbeam?ref=main
|
||||||
```
|
```
|
||||||
|
|
||||||
(The Nix package is wrapped with `TRANSBEAM_STATIC_DIR` set automatically to the
|
(The Nix package is wrapped with `TRANSBEAM_STATIC_DIR` set
|
||||||
correct Nix store path, so it'll serve the static files properly
|
automatically to the correct Nix store path, so it'll serve the static
|
||||||
no matter what directory you run it from.)
|
files properly no matter what directory you run it
|
||||||
|
from. `TRANSBEAM_CACHEBUSTER` is set automatically to a hash of the
|
||||||
|
static files' store path, so it will change whenever the static files
|
||||||
|
change.)
|
||||||
|
|
||||||
### non-nix
|
### non-nix
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue