dokku-http-auth

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

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerdokku/dokku-http-auth
Primary LanguageShell
Program languageShell (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2015-03-16 22:51:31
Pushed At2024-07-02 17:28:15
Last Commit At2024-07-02 13:28:15
Release Count11
Last Release Name0.10.0 (Posted on )
First Release Namev0.3.23 (Posted on )
用户参与
Stargazers Count87
Watchers Count2
Fork Count20
Commits Count52
Has Issues Enabled
Issues Count14
Issue Open Count4
Pull Requests Count9
Pull Requests Open Count0
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private