23 Star 48 Fork 17

oneoo / aLiLua

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

aLiLua

A epoll/kqueue based web server, inculded lua/coevent support (support Linux/MacOS/BSD platform)

  • WebSockets supported
  • HTTPS supported

Install

Requirements

  • openssl headers

Ubuntu:

$ sudo apt-get install libssl-dev

Fedora:

sudo yum install openssl-devel

Install aLiLua

$ git clone https://github.com/oneoo/alilua.git
$ cd alilua
$ sudo make install clean

Start

$ sudo alilua --daemon --bind=8080

Options

	--bind=127.0.0.1:80  server bind. or --bind=80 for bind at 0.0.0.0:80
	--ssl-bind           ssl server bind.
	--ssl-cert           ssl Certificate file path
	--ssl-key            ssl PrivateKey file path
	--ssl-ca             ssl Client Certificate file path
	--daemon             process mode
	--process=number     workers
	--log=file path      error log
	--accesslog=...      access log
	--host-route         Special route file path
	--app				 Special app file path
	--code-cache-ttl     number of code cache time(sec) default 60 sec
	--cache-size         size of YAC shared memory cache (1m or 4096000k)

Default Config file: /usr/local/alilua/host-route.lua

Limits

Response header length:		< 3KB
Response body length:		unlimited

Docs

http://alilua.com/docs.html

Mailing list

https://groups.google.com/forum/?hl=en#!forum/alilua

The MIT License (MIT) Copyright (c) 2013-2014 aLiLua.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

高性能的 Lua Web 服务器(同步非堵塞模式,代码如诗般的清爽) 展开 收起
C
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/oneoo/aLiLua.git
git@gitee.com:oneoo/aLiLua.git
oneoo
aLiLua
aLiLua
master

搜索帮助