mirror of
https://github.com/antos-rde/antos.git
synced 2025-07-16 13:59:51 +02:00
feat: add building system based on make
This commit is contained in:
58
config/antd-config.ini
Normal file
58
config/antd-config.ini
Normal file
@ -0,0 +1,58 @@
|
||||
[SERVER]
|
||||
plugins=/opt/www/lib/
|
||||
plugins_ext=.so
|
||||
database=/opt/www/database/
|
||||
tmpdir=/tmp/
|
||||
maxcon=500
|
||||
backlog=5000
|
||||
workers = 4
|
||||
max_upload_size = 20000000
|
||||
gzip_enable = 1
|
||||
gzip_types = text\/.*,.*\/css.*,.*\/json.*,.*\/javascript.*
|
||||
|
||||
[PORT:80]
|
||||
plugins = fcgi,tunnel,wvnc
|
||||
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
|
||||
|
||||
|
||||
[PLUGIN:fcgi]
|
||||
name = fcgi
|
||||
autoload = 1
|
||||
file_type = lua
|
||||
bin = /opt/www/bin/luad
|
||||
socket = unix:/tmp/fcgi.sock
|
||||
|
||||
[PLUGIN:tunnel]
|
||||
autoload = 1
|
||||
name = tunnel
|
||||
hotlines = unix:/var/antd_hotline.sock
|
13
config/runner.ini
Normal file
13
config/runner.ini
Normal file
@ -0,0 +1,13 @@
|
||||
[vterm]
|
||||
exec = /opt/www/bin/vterm
|
||||
param = unix:/var/antd_hotline.sock
|
||||
debug = 0
|
||||
|
||||
# used only by tunnel to authentificate user
|
||||
[tunnel_keychain]
|
||||
exec = /opt/www/bin/wfifo
|
||||
param = unix:/var/antd_hotline.sock
|
||||
param = keychain
|
||||
param = /tmp/antunnel_keychain
|
||||
param = r
|
||||
debug = 1
|
Reference in New Issue
Block a user