From bf6fa20655423dadc43c858a5169053e049018f1 Mon Sep 17 00:00:00 2001 From: Andrew Camilleri Date: Sun, 16 Sep 2018 19:33:01 +0200 Subject: [PATCH] acme.json related changes --- Generated/.gitignore | 3 ++- Production-Traefik/acme.json | 0 build.ps1 | 2 ++ build.sh | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Production-Traefik/acme.json diff --git a/Generated/.gitignore b/Generated/.gitignore index d3ac46f..2fb9890 100644 --- a/Generated/.gitignore +++ b/Generated/.gitignore @@ -1,3 +1,4 @@ *.yml *.tmpl -*.toml \ No newline at end of file +*.toml +*.json \ No newline at end of file diff --git a/Production-Traefik/acme.json b/Production-Traefik/acme.json new file mode 100644 index 0000000..e69de29 diff --git a/build.ps1 b/build.ps1 index 82159ab..5b6e7ab 100755 --- a/build.ps1 +++ b/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 } diff --git a/build.sh b/build.sh index 9f5f59a..1257cc1 100755 --- a/build.sh +++ b/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