Skip to content

Commit

Permalink
update readme to reflect breaking changes as of 2.10.0
Browse files Browse the repository at this point in the history
This should have been part of commit a38113c.
  • Loading branch information
jumanjiman committed Nov 24, 2018
1 parent 3cc05b6 commit 4c1907a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ a docker image and run it as a container.

* Authproxy no longer has the `-c CONFIG` option.<br/>
The path to config is hard-coded.
The hard-coded path is `/opt/duoauthproxy/conf/authproxy.cfg`.

* Authproxy requires `FIPS_mode` that is not in LibreSSL.<br/>
Therefore the image is based on Centos, not Alpine.<br/>
Expand Down Expand Up @@ -205,10 +206,13 @@ for all options.

### Run the authproxy

:warning: Since version 2.10.0, upstream no longer has the `-c CONFIG_PATH` option.
Instead, the path is now hard-coded as `/opt/duoauthproxy/conf/authproxy.cfg`.

Edit the sample config file or provide your own:

vim contrib/authproxy.cfg
sudo cp contrib/authproxy.cfg /etc/duoauthproxy/
sudo cp contrib/authproxy.cfg /opt/duoauthproxy/conf/

Copy the sample unit file into place and activate:

Expand All @@ -222,7 +226,7 @@ Alternatively, you can run the container in detached mode from the CLI:
--name duoauthproxy \
-p 1812:1812/udp \
-p 18120:18120/udp \
-v /etc/duoauthproxy:/etc/duoauthproxy:ro \
-v /opt/duoauthproxy/conf:/opt/duoauthproxy/conf:ro \
--read-only \
--cap-drop=all \
--cap-add=setgid \
Expand Down

0 comments on commit 4c1907a

Please sign in to comment.