mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
📝 docs: provide explanation for the new config file options (#439)
This commit is contained in:
parent
493696f4e2
commit
a66362bce1
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
If you have built `websurfx` from the source then the configuration file will be located under the project directory (codebase) at `websurfx/`
|
If you have built `websurfx` from the source then the configuration file will be located under the project directory (codebase) at `websurfx/`
|
||||||
|
|
||||||
> **Note**
|
> [!Note]
|
||||||
> If you have built websurfx with an unstable/rolling/edge branch then you can copy the configuration file from `websurfx/config.lua` located under the project directory (codebase) to `~/.config/websurfx/` and make the changes there and rerun the websurfx server. _This is only available from unstable/rolling/edge version_.
|
> If you have built websurfx with an unstable/rolling/edge branch then you can copy the configuration file from `websurfx/config.lua` located under the project directory (codebase) to `~/.config/websurfx/` and make the changes there and rerun the websurfx server. _This is only available from unstable/rolling/edge version_.
|
||||||
|
|
||||||
## Installed From Package
|
## Installed From Package
|
||||||
@ -71,6 +71,12 @@ Some of the configuration options provided in the file are stated below. These a
|
|||||||
>
|
>
|
||||||
> 1. simple
|
> 1. simple
|
||||||
|
|
||||||
|
- **animation:** The animation name that should be used for the website (again, the name should be by the animation file name present in the `public/static/animations` folder).
|
||||||
|
|
||||||
|
> By Default we provide 1 animation to choose from these are:
|
||||||
|
>
|
||||||
|
> 1. simple-frosted-glow
|
||||||
|
|
||||||
## Cache
|
## Cache
|
||||||
|
|
||||||
- **redis_url:** Redis connection URL address on which the client should connect.
|
- **redis_url:** Redis connection URL address on which the client should connect.
|
||||||
@ -78,6 +84,8 @@ Some of the configuration options provided in the file are stated below. These a
|
|||||||
> **Note**
|
> **Note**
|
||||||
> This option can be commented out if you have compiled the app without the `redis-cache` feature. For more information, See [**building**](./building.md).
|
> This option can be commented out if you have compiled the app without the `redis-cache` feature. For more information, See [**building**](./building.md).
|
||||||
|
|
||||||
|
- **cache_expiry_time:** The maximum time the server will store the cache for, after which it flushs/removes/expires/invalidates the cached results. (value provided to this option should be in seconds and the value should be greater than or equal to 60 seconds).
|
||||||
|
|
||||||
## Search Engines
|
## Search Engines
|
||||||
|
|
||||||
- **upstream_search_engines:** Select from the different upstream search engines from which the results should be fetched.
|
- **upstream_search_engines:** Select from the different upstream search engines from which the results should be fetched.
|
||||||
|
Loading…
Reference in New Issue
Block a user