Skip to content

Commit

Permalink
caddy: remove email from configuration
Browse files Browse the repository at this point in the history
Since all hosts now use security.acme (dbe7f34), there is no need for
caddy to handle certificates.
  • Loading branch information
diogotcorreia committed Aug 9, 2024
1 parent e4f0c42 commit 94f1d53
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions profiles/services/caddy/common.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# Common configuration for caddy reverse proxy
{
config,
lib,
...
}: {
{lib, ...}: {
# Open firewall ports
networking.firewall.allowedTCPPorts = [80 443];

services.caddy = {
enable = true;
# TODO remove email once all servers have been migrated to lego (security.acme)
email = "${config.networking.hostName}[email protected]";
extraConfig = ''
# Rules for services behind Cloudflare proxy
(CLOUDFLARE_PROXY) {
Expand Down

0 comments on commit 94f1d53

Please sign in to comment.