nging

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2017 License: Apache-2.0 Imports: 22 Imported by: 0

README

nging

基于 caddy 的网站服务程序,带图形化管理界面。

caddy 是由国外开发者开发的一套类似于nginx或apache的网站服务软件。 caddy的配置文件比nginx更简洁易用。但我相信事情还可以变得更简单,所以nging应运而生。

nging不仅仅包含了caddy的在线可视化配置,还包含了ftp服务的管理,下一步即将增加:

  • 文件在线管理
  • 计划任务
  • 数据库管理(adminer的Golang版)
  • 离线下载
  • 网站管理(支持caddy指令在线配置)
    • awslambda
    • basicauth
    • bind
    • browse
    • cors
    • errors
    • expires
    • expvar
    • ext
    • fastcgi
    • filemanager
    • filter
    • git
    • gzip
    • header
    • hugo
    • import
    • internal
    • ipfilter
    • jsonp
    • jwt
    • locale
    • log
    • mailout
    • markdown
    • maxrequestbody
    • mime
    • minify
    • multipass
    • pprof
    • prometheus
    • proxy
    • ratelimit
    • realip
    • redir
    • rewrite
    • root
    • search
    • shutdown
    • startup
    • status
    • templates
    • tls
    • upload
    • websocket

先睹为快

安装:

登录:

系统信息:

在线编辑文件:

添加计划任务:

MySQL数据库管理:

开发环境下的启动方式

  • 第一步: 安装GO环境(建议1.7版以上),配置GOPATH、GOROOT环境变量,并将%GOROOT%/bin%GOPATH%/bin加入到PATH环境变量中
  • 第二步: 执行命令go get github.com/admpub/nging
  • 第三步: 进入%GOPATH%/src/github.com/admpub/nging/目录中启动run_first_time.bat(linux系统启动run_first_time.sh)
  • 第四步: 打开浏览器,访问网址http://localhost:8080/setup,在页面中配置数据库账号和管理员账号信息进行安装
  • 第五步: 安装成功后会自动跳转到登录页面,使用安装时设置的管理员账号进行登录

Documentation

Overview

Copyright 2016 Wenhui Shen <www.webx.top>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL