mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-23 05:02:15 +01:00
Update Boulder to 2020-10-19 release
This commit is contained in:
parent
92cf9ff147
commit
b2e85e1c6c
@ -10,17 +10,21 @@ setup_boulder() {
|
||||
&& git clone https://github.com/letsencrypt/boulder \
|
||||
"$GOPATH/src/github.com/letsencrypt/boulder"
|
||||
pushd "$GOPATH/src/github.com/letsencrypt/boulder"
|
||||
git checkout release-2019-10-07
|
||||
git checkout release-2020-10-19
|
||||
if [[ "$(uname)" == 'Darwin' ]]; then
|
||||
# Set Standard Ports
|
||||
sed -i '' 's/ 5002/ 80/g' test/config/va.json
|
||||
sed -i '' 's/ 5001/ 443/g' test/config/va.json
|
||||
for file in test/config/va.json test/config/va-remote-a.json test/config/va-remote-b.json; do
|
||||
sed -i '' 's/ 5002/ 80/g' "$file"
|
||||
sed -i '' 's/ 5001/ 443/g' "$file"
|
||||
done
|
||||
# Modify custom rate limit
|
||||
sed -i '' 's/le.wtf,le1.wtf/le1.wtf,le2.wtf,le3.wtf/g' test/rate-limit-policies.yml
|
||||
else
|
||||
# Set Standard Ports
|
||||
sed --in-place 's/ 5002/ 80/g' test/config/va.json
|
||||
sed --in-place 's/ 5001/ 443/g' test/config/va.json
|
||||
for file in test/config/va.json test/config/va-remote-a.json test/config/va-remote-b.json; do
|
||||
sed --in-place 's/ 5002/ 80/g' "$file"
|
||||
sed --in-place 's/ 5001/ 443/g' "$file"
|
||||
done
|
||||
# Modify custom rate limit
|
||||
sed --in-place 's/le.wtf,le1.wtf/le1.wtf,le2.wtf,le3.wtf/g' test/rate-limit-policies.yml
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user