From 4c1907a33ebc3b90307bd2cca919d5bde6e669e2 Mon Sep 17 00:00:00 2001 From: Paul Morgan Date: Sat, 24 Nov 2018 14:20:27 +0000 Subject: [PATCH] update readme to reflect breaking changes as of 2.10.0 This should have been part of commit a38113ce80e. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8aab24f..a613f34 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ a docker image and run it as a container. * Authproxy no longer has the `-c CONFIG` option.
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.
Therefore the image is based on Centos, not Alpine.
@@ -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: @@ -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 \