blob: fe7f327c8a14ac87de25d843f22aafbdf0409b20 [file] [log] [blame]
Akron754dae52017-09-28 14:54:28 +02001# This is the base configuration file for Kalamar.
2# Further configurations can override these values.
3# To define a new configuration, create a file in the
4# root folder of your application with the name like
5#
6# kalamar.[MYNAME].conf
7#
Akrondbb448c2018-02-14 17:02:36 +01008# To load the configuration, start your application with
Akron754dae52017-09-28 14:54:28 +02009# the environment variable
10#
11# MOJO_MODE=[MYNAME]
12#
13# Further typical configurations in this file include
14#
15# - hypnotoad
Akrondbb448c2018-02-14 17:02:36 +010016# See Mojo::Server::Hypnotoad
Akron754dae52017-09-28 14:54:28 +020017# - MailException
Akrondbb448c2018-02-14 17:02:36 +010018# See Mojolicious::Plugin::MailException
Akron754dae52017-09-28 14:54:28 +020019# - TagHelpers-Pagination
Akrondbb448c2018-02-14 17:02:36 +010020# See Mojolicious::Plugin::TagHelpers::Pagination
Akrondbb448c2018-02-14 17:02:36 +010021# - Localize
22# See Mojolicious::Plugin::Localize
Akronafeca252018-05-23 15:54:28 +020023# - TagHelpers-ContentBlock
24# See Mojolicious::Plugin::TagHelpers::ContentBlock
Akron1011daf2021-03-01 12:34:58 +010025# - TagHelpers-MailToChiffre
26# See Mojolicious::Plugin::TagHelpers::MailToChiffre
Akrondffa9392018-10-12 16:26:09 +020027# - CHI
28# See Mojolicious::Plugin::CHI
Akron754dae52017-09-28 14:54:28 +020029
Akron4c33c622018-11-12 13:43:27 +010030# For Plugins,
31# - Piwik
32# See Mojolicious::Plugin::Piwik
33
Nils Diewald5d1ffb42014-05-21 17:45:34 +000034{
Akrone8235be2016-06-27 11:02:18 +020035 Kalamar => {
Akron8f8deda2021-01-15 12:55:06 +010036 ## Backend server path
37 # api_path => 'https://korap.example.org/api/',
Akronc7656e92018-08-30 13:33:25 +020038
Akronb7876a82019-07-18 13:09:00 +020039 ## Backend API version
Akronc7656e92018-08-30 13:33:25 +020040 # api_version => '1.0',
Akron754dae52017-09-28 14:54:28 +020041
Akronf260e6e2023-05-16 16:36:10 +020042 ## Log file
43 # log_file => 'logs/kalamar.log',
44
Akron90be03b2020-02-03 16:13:37 +010045 ## If the application is run behind a proxy, ignore the forwarded host
46 # proxy_host => 0,
47
Akron0c4cd222019-07-19 16:33:34 +020048 ## Run the application in a subfolder behind a proxy:
49 # proxy_prefix => '/korap',
50
Akronb7876a82019-07-18 13:09:00 +020051 ## The name of the base corpus,
52 ## for query examples (see kalamar.queries.dict)
53 # examplecorpus => 'dereko',
Akron4c33c622018-11-12 13:43:27 +010054
Akronb7876a82019-07-18 13:09:00 +020055 ## For further Plugins, add them
56 ## to this array:
57 # plugins => [],
58 ## Currently bundled: Piwik, Auth
59
Akron0c4cd222019-07-19 16:33:34 +020060 ## Require everything to be send via https only:
61 # https_only => 1,
62
Akronbc6b3f22021-01-13 14:53:12 +010063 ## Override default content security policy
64 # cs_policy => "default-src '*';"
65
Akron23ab0472019-12-17 16:55:55 +010066 ## Set proxy timeouts
67 # proxy_inactivity_timeout => 120,
68 # proxy_connect_timeout => 120,
Nils Diewald5d1ffb42014-05-21 17:45:34 +000069 }
70}