Skip to content

Commit fed5f31

Browse files
authored
Add Securing the Setup section to resolve pboehm#34
1 parent e2b9977 commit fed5f31

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,17 @@ rebuilds the containers.
8181
```
8282
docker-compose --project-name ddns up -d --build
8383
```
84+
85+
#### Securing the Setup
86+
87+
Add basicauth to `caddy/Caddyfile`, e.g:
88+
```
89+
{$DDNS_CADDY_DOMAIN} {
90+
tls {$DDNS_CADDY_TLS_EMAIL}
91+
basicauth / admin password
92+
proxy / {$DDNS_FRONTEND_HOST} {
93+
transparent
94+
}
95+
}
96+
```
97+
Remember that you would also need to add `-u admin:password` to your curl command

0 commit comments

Comments
 (0)