all repos — site @ 5d49360488a4991cda571339f919701a948d72f7

source for my site, found at icyphox.sh

Add acme.sh for Let's Encrypt

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Sat, 30 May 2020 13:47:59 +0530
commit

5d49360488a4991cda571339f919701a948d72f7

parent

74d2a1c990376ef1e6958e999b6588fcea1fc7e2

2 files changed, 10 insertions(+), 1 deletions(-)

jump to
A bin/acme.sh

@@ -0,0 +1,9 @@

+#!/bin/sh + +acme_dir="build/.well-known/acme-challenge" +challenge_file="KGSQ6fNidceTVkJatdhhbQpbcuk3Uv-QJU6UnG-BsAM" +mkdir -p "$acme_dir" +touch "$acme_dir/$challenge_file" +echo 'KGSQ6fNidceTVkJatdhhbQpbcuk3Uv-QJU6UnG-BsAM.KutP6lSJGR7mxzITPurdA_OhqcIAPzTLyo0UUCSObro +' > "$acme_dir/$challenge_file" +
M config.pyconfig.py

@@ -55,4 +55,4 @@ </div>

""" template = 'text.html' # default is index.html pre_build = [['./bin/openring.py', '-j'], './bin/update_index.py'] -post_build = ['./bin/rss.py', './bin/plaintext.sh'] +post_build = ['./bin/rss.py', './bin/plaintext.sh', './bin/acme.sh']