-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkalamar.conf
75 lines (64 loc) · 1.86 KB
/
kalamar.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This is the base configuration file for Kalamar.
# Further configurations can override these values.
# To define a new configuration, create a file in the
# root folder of your application with the name like
#
# kalamar.[MYNAME].conf
#
# To load the configuration, start your application with
# the environment variable
#
# MOJO_MODE=[MYNAME]
#
# Further typical configurations in this file include
#
# - hypnotoad
# See Mojo::Server::Hypnotoad
# - MailException
# See Mojolicious::Plugin::MailException
# - TagHelpers-Pagination
# See Mojolicious::Plugin::TagHelpers::Pagination
# - Localize
# See Mojolicious::Plugin::Localize
# - TagHelpers-ContentBlock
# See Mojolicious::Plugin::TagHelpers::ContentBlock
# - TagHelpers-MailToChiffre
# See Mojolicious::Plugin::TagHelpers::MailToChiffre
# - CHI
# See Mojolicious::Plugin::CHI
# - CSP
# See Kalamar::Plugin::CSP
# For Plugins,
# - Piwik
# See Mojolicious::Plugin::Piwik
{
Kalamar => {
## Backend server path
# api_path => 'https://korap.example.org/api/',
## Backend API version
# api_version => '1.0',
## Log file
# log_file => 'logs/kalamar.log',
## If the application is run behind a proxy, ignore the forwarded host
# proxy_host => 0,
## Run the application in a subfolder behind a proxy:
# proxy_prefix => '/korap',
## The name of the base corpus,
## for query examples (see kalamar.queries.dict)
# examplecorpus => 'dereko',
## For further Plugins, add them
## to this array:
# plugins => [],
## Currently bundled: Piwik, Auth
## Require everything to be send via https only:
# https_only => 1,
## Set proxy timeouts
# proxy_inactivity_timeout => 120,
# proxy_connect_timeout => 120,
## Adjust defaults
# defaults => {
# items_per_page => 20,
# context => '20-t,20-t'
# }
}
}