mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
move server into apps/ignis-server
This commit is contained in:
11
apps/ignis-server/examples/caddy-basic-auth/Caddyfile
Normal file
11
apps/ignis-server/examples/caddy-basic-auth/Caddyfile
Normal file
@@ -0,0 +1,11 @@
|
||||
# Replace with your domain, or use :443 for local access with a self-signed cert.
|
||||
ignis.example.com {
|
||||
basicauth {
|
||||
# Username: admin
|
||||
# Replace the hash below with your own. Generate one with:
|
||||
# docker run --rm caddy:2 caddy hash-password --plaintext YOUR_PASSWORD
|
||||
admin $2a$14$REPLACE_THIS_WITH_YOUR_BCRYPT_HASH
|
||||
}
|
||||
|
||||
reverse_proxy ignis:8080
|
||||
}
|
||||
Reference in New Issue
Block a user