5.1.201902201403 • Published 5 years ago

@feidao-factory/server v5.1.201902201403

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

Web Server, including HTTP and HTTPS.



Configuration

feidao.json

{
	"mqtt": "mqtt://192.168.40.196:1883",
	"PORT": 8889,
	"REDIS": {
		"URL": "redis://172.16.12.2:6379",
		"EXPIRATION": 3600
	},
	"RABBITMQ": "amqp://guest:guest@127.0.0.1:5672",
	"EXPIRATION": 15000,
	"SIGN_ROUTER_QUEUE_NAME": "q_sign_router",
	"TIMEOUT": 50000,
	"ACAO": "*",
	"ACMA": 150000,
	"favicon": "./favicon.ico",
	"static": "./release-server",
	"spaceid": "feidao_400",
	"routers": [
		{
			"URL": "/get_captcha",
			"METHOD": "get",
			"SERVICE": "dataservice.nodejs",
			"DATA": {
				"modelid": "custom::js_web/captcha"
			}
		}
	]
}

说明:

favicon.ico

显示在浏览器地址栏以及收藏栏中的图标

log4js.json

日志配置,具体请参考官方说明:log4js