Browse Source

acme.json related changes

feature/auto_ssh
Andrew Camilleri 7 years ago
parent
commit
bf6fa20655
  1. 3
      Generated/.gitignore
  2. 0
      Production-Traefik/acme.json
  3. 2
      build.ps1
  4. 1
      build.sh

3
Generated/.gitignore

@ -1,3 +1,4 @@
*.yml
*.tmpl
*.toml
*.toml
*.json

0
Production-Traefik/acme.json

2
build.ps1

@ -25,4 +25,6 @@ If ($BTCPAYGEN_REVERSEPROXY -eq "nginx") {
If ($BTCPAYGEN_REVERSEPROXY -eq "traefik") {
Copy-Item ".\Production-Traefik\traefik.toml" -Destination ".\Generated"
New-Item ".\Generated\acme.json" -type file
}

1
build.sh

@ -25,6 +25,7 @@ fi
if [ "$BTCPAYGEN_REVERSEPROXY" == "traefik" ]; then
cp Production-Traefik/traefik.toml Generated/traefik.toml
chmod 600 acme.json>>!#:2
fi

Loading…
Cancel
Save