mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 09:45:07 +00:00
Update website
This commit is contained in:
parent
e83483d4a7
commit
030ee6c932
@ -9,6 +9,10 @@ docspell.server {
|
||||
|
||||
# This is the base URL this application is deployed to. This is used
|
||||
# to create absolute URLs and to configure the cookie.
|
||||
#
|
||||
# If default is not changed, the HOST line of the login request is
|
||||
# used instead or the value of the `X-Forwarded-For` header. If set
|
||||
# to some other value, the request is not inspected.
|
||||
base-url = "http://localhost:7880"
|
||||
|
||||
# Where the server binds to.
|
||||
|
@ -167,12 +167,18 @@ components. For a joex component, the url must be resolvable from a
|
||||
REST server component. The REST server also uses this url to create
|
||||
absolute urls and to configure the authenication cookie.
|
||||
|
||||
By default it is build using the information from the `bind` setting.
|
||||
By default it is build using the information from the `bind` setting,
|
||||
which is `http://localhost:7880`.
|
||||
|
||||
If the default is not changed, docspell will use the login request to
|
||||
determine the base-url. It first inspects the `X-Forwarded-For` header
|
||||
that is often used with reverse proxies. If that is not present, the
|
||||
`Host` header of the request is used. However, if the `base-url`
|
||||
setting is changed, then only this setting is used.
|
||||
|
||||
```
|
||||
docspell.server.baseurl = ...
|
||||
docspell.joex.baseurl = ...
|
||||
docspell.server.base-url = ...
|
||||
docspell.joex.base-url = ...
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
@ -152,6 +152,7 @@ structure:
|
||||
{ multiple: Bool
|
||||
, direction: Maybe String
|
||||
, folder: Maybe String
|
||||
, skipDuplicates: Bool
|
||||
}
|
||||
```
|
||||
|
||||
@ -169,6 +170,10 @@ be placed into this folder. Errors are logged (for example, the folder
|
||||
may have been deleted before the task is executed) and the item is
|
||||
then not put into any folder.
|
||||
|
||||
The `skipDuplicates` is optional and set to `false` if not specified.
|
||||
It configures the processing task. If set to `true`, the processing
|
||||
task will skip all input files that are already present in docspell.
|
||||
|
||||
This kind of request is very common and most programming languages
|
||||
have support for this. For example, here is another curl command
|
||||
uploading two files with meta data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user