dokku-http-auth

BETA: dokku plugin that gives the ability to manage HTTP basic auth for an application

Github星跟踪图

dokku-http-auth

dokku-http-auth is a plugin for dokku that gives the ability to enable or disable HTTP authentication for an application.

Requirements

mkpasswd from the whois package is required to generate secure hash (SHA-512) from provided passwords. It will be installed via apt-get when calling dokku plugins-install.

Installation

# dokku 0.3.26
$ sudo git clone https://github.com/dokku/dokku-http-auth.git /var/lib/dokku/plugins/http-auth
$ dokku plugins-install

# dokku 0.4+
$ dokku plugin:install https://github.com/dokku/dokku-http-auth.git

Commands

$ dokku help
    http-auth <app>                                 Display the current HTTP auth status of app
    http-auth:on <app> <user> <password>            Enable HTTP auth for app
    http-auth:off <app>                             Disable HTTP auth for app

Usage

Check HTTP auth status of my-app

# dokku http-auth my-app            # Server side
$ ssh dokku@server http-auth my-app # Client side

-----> HTTP auth status of my-app:
       off

Enable HTTP auth for my-app

# dokku http-auth:on my-app username password            # Server side
$ ssh dokku@server http-auth:on my-app username password # Client side

-----> Enabling HTTP auth for my-app...
       done

Disable HTTP auth for my-app

# dokku http-auth:off my-app            # Server side
$ ssh dokku@server http-auth:off my-app # Client side

-----> Disabling HTTP auth for my-app...
       done

License

This plugin is released under the MIT license. See the file LICENSE.

概览

名称与所有者dokku/dokku-http-auth
主编程语言Shell
编程语言Shell (语言数: 2)
平台
许可证MIT License
发布数11
最新版本名称0.10.0 (发布于 )
第一版名称v0.3.23 (发布于 )
创建于2015-03-16 22:51:31
推送于2024-02-09 04:28:39
最后一次提交2024-02-08 23:28:38
星数80
关注者数3
派生数19
提交数50
已启用问题?
问题数13
打开的问题数3
拉请求数8
打开的拉请求数0
关闭的拉请求数1
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部