From bbe64cd7676665c07cdecdb86d8ab372bbb81eb2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 22 Mar 2023 22:14:01 +0000 Subject: [PATCH] adding go get check.lab.wit.org/gui Signed-off-by: Jeff Carr --- Makefile | 18 ++++++- gui/index.html | 16 ++++--- nginx/check.lab.wit.org.conf | 91 ++++++++++++++++++++++++++++++++++++ 3 files changed, 116 insertions(+), 9 deletions(-) create mode 100644 nginx/check.lab.wit.org.conf diff --git a/Makefile b/Makefile index a41c4ce..7b8d550 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,14 @@ # Clone with ssh keys: git clone ssh://root@ping.wit.com/var/lib/git/website/jcarr/check.jcarr.wit.com all: - echo run setup + @echo + @echo 'make update # pulls down the submodule directories' + @echo 'make status # shows your letsencrypt cert' + @echo setup: - echo put stuff here + make status + ls -l /var/www/html push: git add --all @@ -22,3 +26,13 @@ resetgit: mkdir myrepo cd myrepo && touch .git/git-daemon-export-ok cd myrepo && git config --bool core.bare true + +status: + @echo + acmetool status + @echo + +# this will update the cert when 'acmetool status' says 'needs-renewing' +renew-cert: + service nginx stop + acmetool --xlog.severity=debug reconcile diff --git a/gui/index.html b/gui/index.html index a727fa8..a876c9b 100644 --- a/gui/index.html +++ b/gui/index.html @@ -2,9 +2,10 @@ -go.wit.com/gui - - +check.lab.wit.org/gui + + +