Last change
on this file since 70 was 70, checked in by yakumo.izuru, 16 months ago |
PixivFEからいくつか輸入しました
リクエストリミッターを構成可能にする
マニュアルページを更新する
エラーページを改善する
GoFiber v2.52.0 へのアップデート
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
973 bytes
|
Line | |
---|
1 | .Dd $Mdocdate$
|
---|
2 | .Dt MAI.INI 5
|
---|
3 | .Os
|
---|
4 | .Sh NAME
|
---|
5 | .Nm mai.ini
|
---|
6 | .Nd Configuration file for Mai
|
---|
7 | .Sh OPTIONS
|
---|
8 | .Ss [mai] section
|
---|
9 | .Bl -tag -width 11n
|
---|
10 | .It danmaku (int)
|
---|
11 | Control the maximum amount of requests
|
---|
12 | before a ratelimit happens
|
---|
13 | .It listen (string)
|
---|
14 | HTTP port for the server to listen.
|
---|
15 | Default is "localhost:5000"
|
---|
16 | .It static (string)
|
---|
17 | Directory where the static resources are located.
|
---|
18 | Default is "./static"
|
---|
19 | .It templates (string)
|
---|
20 | Directory where the templates are located.
|
---|
21 | Default is "./views"
|
---|
22 | .El
|
---|
23 | .Sh ENVIRONMENT
|
---|
24 | .Bl -tag -width 11n
|
---|
25 | .It Ev MAI_LIBRETRANSLATE_INSTANCE
|
---|
26 | LibreTranslate instance to use, it's required for the engine to work.
|
---|
27 | .It Ev MAI_LIBRETRANSLATE_API
|
---|
28 | LibreTranslate API key for the above setting, it may or
|
---|
29 | may not be required, depending on the instance.
|
---|
30 | .El
|
---|
31 | .Sh FILES
|
---|
32 | .Pa /usr/local/etc/mai/mai.ini
|
---|
33 | .Sh SEE ALSO
|
---|
34 | .Xr mai 1
|
---|
35 | .Sh AUTHORS
|
---|
36 | .An fattalion
|
---|
37 | .An metalune
|
---|
38 | .An ManeraKai Lk https://manerakai.com
|
---|
39 | .Sh MAINTAINERS
|
---|
40 | .An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja
|
---|
Note:
See
TracBrowser
for help on using the repository browser.