mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Disable caddy's admin api endpoint
This commit is contained in:
parent
5be9e76486
commit
a4c3e2a829
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ in
|
|||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
enableReload = false;
|
||||
virtualHosts =
|
||||
virtualHosts
|
||||
|> lib.mapAttrs' (
|
||||
|
|
@ -79,6 +80,8 @@ in
|
|||
package = caddyWithTailscale;
|
||||
enableReload = false;
|
||||
globalConfig = ''
|
||||
admin off
|
||||
|
||||
tailscale {
|
||||
auth_key {file.${config.sops.secrets."service-tailscale-auth-key".path}}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue