Skip to content

Commit

Permalink
Add Securing the Setup section to resolve pboehm#34
Browse files Browse the repository at this point in the history
  • Loading branch information
sliterok authored Aug 13, 2021
1 parent e2b9977 commit fed5f31
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,17 @@ rebuilds the containers.
```
docker-compose --project-name ddns up -d --build
```

#### Securing the Setup

Add basicauth to `caddy/Caddyfile`, e.g:
```
{$DDNS_CADDY_DOMAIN} {
tls {$DDNS_CADDY_TLS_EMAIL}
basicauth / admin password
proxy / {$DDNS_FRONTEND_HOST} {
transparent
}
}
```
Remember that you would also need to add `-u admin:password` to your curl command

0 comments on commit fed5f31

Please sign in to comment.