diff --git a/hosts/dyon/configuration.nix b/hosts/dyon/configuration.nix index bff1190..522dd3f 100644 --- a/hosts/dyon/configuration.nix +++ b/hosts/dyon/configuration.nix @@ -4,6 +4,7 @@ ../../common/common.nix ../../common/nginx.nix ../../common/netdata.nix + ./nginx.nix ./wireguard.nix ]; diff --git a/common/nginx.nix b/hosts/dyon/nginx.nix similarity index 84% rename from common/nginx.nix rename to hosts/dyon/nginx.nix index afd70f5..2fc6733 100644 --- a/common/nginx.nix +++ b/hosts/dyon/nginx.nix @@ -10,6 +10,12 @@ addresses = [ "[2a02:2970:1002::18]" "46.182.19.48" "[2001:1608:10:25::9249:d69b]" "84.200.70.40" ]; }; appendHttpConfig = '' + server { + listen turn.entr0py.de:80 default; + location ^~ /.well-known/acme-challenge/ { + root /var/www/letsencrypt; + } + } server { listen 0.0.0.0:80 default; listen [::]:80 default;