[object Object]

← back to Abramsagency

add golive-finish.sh: full restart (apply specific-IP bind) + public-IP cert/https verify

155edd303bcc98e5944780b389c4c30a8163bbec · 2026-08-13 13:51:52 -0700 · Steve Abrams

Files touched

Diff

commit 155edd303bcc98e5944780b389c4c30a8163bbec
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Aug 13 13:51:52 2026 -0700

    add golive-finish.sh: full restart (apply specific-IP bind) + public-IP cert/https verify
---
 golive-finish.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/golive-finish.sh b/golive-finish.sh
new file mode 100644
index 0000000..e544afe
--- /dev/null
+++ b/golive-finish.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Full restart so the specific-IP bind + hash rebuild take effect, then verify PUBLIC.
+set -euo pipefail
+SRV=root@45.61.58.125
+ssh -o StrictHostKeyChecking=accept-new "$SRV" 'systemctl restart nginx && sleep 1 && \
+echo "== PUBLIC cert (45.61.58.125:443, SNI agency) ==" && \
+echo | openssl s_client -servername agency.agentabrams.com -connect 45.61.58.125:443 2>/dev/null | openssl x509 -noout -subject && \
+echo "== https status from the box ==" && \
+curl -s -m 10 -o /dev/null -w "https=%{http_code}\n" https://agency.agentabrams.com/'

← 37781bd add golive-ssl-bind.sh: bind agency vhost to specific IP so  ·  back to Abramsagency  ·  add golive-port-fix.sh: resolve :9788 collision with Ventura 75ee42e →