forked from wezm/wezm.net
Update Alpine infra post to note move to lego
This commit is contained in:
parent
666a9e1ace
commit
e2d787166e
4 changed files with 21 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
2.6.0
|
2.7.5
|
||||||
|
|
|
@ -21,3 +21,16 @@ Set updated_at on a post in vim:
|
||||||
Trim CLI screenshots:
|
Trim CLI screenshots:
|
||||||
|
|
||||||
convert *.png -set filename:name '%t' -background white -splice 0x1 -background white -splice 0x1 -trim +repage -chop 0x1 '%[filename:name].png'
|
convert *.png -set filename:name '%t' -background white -splice 0x1 -background white -splice 0x1 -trim +repage -chop 0x1 '%[filename:name].png'
|
||||||
|
|
||||||
|
Setup
|
||||||
|
-----
|
||||||
|
|
||||||
|
frum install (then cd ..; cd -)
|
||||||
|
gem install bundler --no-doc --version '~> 1'
|
||||||
|
bundle install
|
||||||
|
|
||||||
|
Building and Deployment
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
* Build with: `nanoc co`
|
||||||
|
* Deploy with: `nanoc deploy`
|
||||||
|
|
|
@ -198,6 +198,11 @@ use the DNS validation method (`certbot` can do this too). This requires a DNS
|
||||||
provider that has an API so the client can dynamically manipulate the records.
|
provider that has an API so the client can dynamically manipulate the records.
|
||||||
I looked through the large list of supported providers and settled on [LuaDNS].
|
I looked through the large list of supported providers and settled on [LuaDNS].
|
||||||
|
|
||||||
|
**Update 11 May 2020:** I contributed support for LuaDNS to [lego] and replaced
|
||||||
|
`acme.sh` with it. The motivation was that I never got auto-renewal working
|
||||||
|
with `acme.sh`. Turns out it was nothing to do with `acme.sh` but the exercise
|
||||||
|
in moving to `lego` made me discover and fix the problem.
|
||||||
|
|
||||||
LuaDNS has a nice git based workflow where you define the DNS zones with small
|
LuaDNS has a nice git based workflow where you define the DNS zones with small
|
||||||
Lua scripts and the records are published when you push to the repo. They also
|
Lua scripts and the records are published when you push to the repo. They also
|
||||||
have the requisite API for `acme.sh`. You can see my DNS repo at:
|
have the requisite API for `acme.sh`. You can see my DNS repo at:
|
||||||
|
@ -425,3 +430,4 @@ Next Post: [A Coding Retreat and Getting Embedded Rust Running on a SensorTag](/
|
||||||
[Varnish]: https://varnish-cache.org/
|
[Varnish]: https://varnish-cache.org/
|
||||||
[Vultr]: https://www.vultr.com/?ref=7903263
|
[Vultr]: https://www.vultr.com/?ref=7903263
|
||||||
[WebPageTest]: https://www.webpagetest.org/
|
[WebPageTest]: https://www.webpagetest.org/
|
||||||
|
[lego]: https://github.com/go-acme/lego
|
||||||
|
|
|
@ -4,7 +4,7 @@ extra: My story of replacing three servers, across two countries, running two op
|
||||||
kind: article
|
kind: article
|
||||||
section: technical
|
section: technical
|
||||||
created_at: 2019-02-28 09:45:00.000000000 +11:00
|
created_at: 2019-02-28 09:45:00.000000000 +11:00
|
||||||
updated_at: 2019-03-13T20:37:45+11:00
|
updated_at: 2022-01-15T10:35:39+10:00
|
||||||
keywords:
|
keywords:
|
||||||
- docker
|
- docker
|
||||||
- linux
|
- linux
|
||||||
|
|
Loading…
Reference in a new issue