Update caddy snippet to reference proxy.unturf.com config
This commit is contained in:
parent
702e9924ba
commit
7a35a9c828
1 changed files with 16 additions and 7 deletions
|
|
@ -1,7 +1,16 @@
|
||||||
handle /hemp-bioplastic/process/factory/* {
|
# Factory basic auth lives in proxy.unturf.com/ingress/Caddyfile
|
||||||
basicauth {
|
# Configured as a handle block inside the unturf.com site block.
|
||||||
# Generate a hash: caddy hash-password
|
#
|
||||||
# Then add a line here: username <hash>
|
# To change the password:
|
||||||
}
|
# ssh -p 22222 root@proxy.uncloseai.com "caddy hash-password --plaintext NEW_PASSWORD"
|
||||||
file_server
|
# Edit proxy.unturf.com/ingress/Caddyfile, replace the hash
|
||||||
}
|
# Push to main, CI deploys automatically
|
||||||
|
#
|
||||||
|
# Current config:
|
||||||
|
# handle /hemp-bioplastic/process/factory/* {
|
||||||
|
# basicauth {
|
||||||
|
# fox <bcrypt-hash>
|
||||||
|
# }
|
||||||
|
# root * /opt/www/unturf
|
||||||
|
# file_server
|
||||||
|
# }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue