From 7a35a9c828e25f143073d4401bf3c4202b193fc3 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 1 Mar 2026 19:06:52 -0500 Subject: [PATCH] Update caddy snippet to reference proxy.unturf.com config --- caddy/factory-auth.caddy | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/caddy/factory-auth.caddy b/caddy/factory-auth.caddy index 97b7ecf..7a0e64a 100644 --- a/caddy/factory-auth.caddy +++ b/caddy/factory-auth.caddy @@ -1,7 +1,16 @@ -handle /hemp-bioplastic/process/factory/* { - basicauth { - # Generate a hash: caddy hash-password - # Then add a line here: username - } - file_server -} +# Factory basic auth lives in proxy.unturf.com/ingress/Caddyfile +# Configured as a handle block inside the unturf.com site block. +# +# To change the password: +# ssh -p 22222 root@proxy.uncloseai.com "caddy hash-password --plaintext NEW_PASSWORD" +# Edit proxy.unturf.com/ingress/Caddyfile, replace the hash +# Push to main, CI deploys automatically +# +# Current config: +# handle /hemp-bioplastic/process/factory/* { +# basicauth { +# fox +# } +# root * /opt/www/unturf +# file_server +# }