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/* {
|
||||
basicauth {
|
||||
# Generate a hash: caddy hash-password
|
||||
# Then add a line here: username <hash>
|
||||
}
|
||||
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 <bcrypt-hash>
|
||||
# }
|
||||
# root * /opt/www/unturf
|
||||
# file_server
|
||||
# }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue