Skip to content

Commit

Permalink
Better htpasswd command
Browse files Browse the repository at this point in the history
Better htpasswd command example for the simple development plugin
sandbox documentation.
  • Loading branch information
skoranda committed Dec 22, 2020
1 parent d9fcf08 commit fbe5cc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/simple-development-plugin-mariadb.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,10 @@ volumes:
target: /etc/apache2/basic-auth
```

Edit the basic-auth file using the `htpasswd` command. For example
to add the user `skoranda` run
Edit the basic-auth file using the `htpasswd` command:

```
htpasswd /srv/docker/etc/apache2/basic-auth skoranda
htpasswd ${HOME}/comanage/etc/apache2/basic-auth <username>
```

Restart the services and you can now authenticate to COmanage Registry
Expand Down

0 comments on commit fbe5cc2

Please sign in to comment.