antosaio/antd-config.ini

59 lines
1.1 KiB
INI
Raw Normal View History

2022-08-18 10:58:37 +02:00
[SERVER]
plugins=/opt/www/lib/
plugins_ext=.so
database=/app/data/database/
tmpdir=/app/data/tmp/
maxcon=500
backlog=5000
workers = 4
max_upload_size = 20000000
gzip_enable = 1
2022-08-27 21:58:17 +02:00
gzip_types = text\/.*,.*\/css.*,.*\/json.*,.*\/javascript.*
2022-08-18 10:58:37 +02:00
[PORT:80]
plugins = fcgi,tunnel,wvnc
2022-08-18 10:58:37 +02:00
htdocs=/opt/www/htdocs
ssl.enable=0
^/os/(.*)$ = /os/router.lua?r=<1>&<query>
[MIMES]
image/bmp=bmp
image/jpeg=jpg,jpeg
text/css=css
text/markdown=md
text/csv=csv
application/pdf=pdf
image/gif=gif
text/html=html,htm,chtml
application/json=json
application/javascript=js
image/png=png
image/x-portable-pixmap=ppm
application/x-rar-compressed=rar
image/tiff=tiff
application/x-tar=tar
text/plain=txt
application/x-font-ttf=ttf
application/xhtml+xml=xhtml
application/xml=xml
application/zip=zip
image/svg+xml=svg
application/vnd.ms-fontobject=eot
application/x-font-woff=woff,woff2
application/x-font-otf=otf
audio/mpeg=mp3,mpeg
2022-08-27 21:50:01 +02:00
[PLUGIN:fcgi]
name = fcgi
2023-01-09 19:59:05 +01:00
autoload = 1
file_type = lua
bin = /opt/www/bin/luad
socket = unix:/tmp/fcgi.sock
2023-01-09 19:59:05 +01:00
[PLUGIN:tunnel]
autoload = 1
name = tunnel
hotlines = unix:/opt/www/tmp/antd_hotline.sock