move nginx to dyon dir

This commit is contained in:
garionion 2021-06-14 16:28:56 +02:00
parent 2142b77058
commit 0209bfaab8
Signed by: garionion
GPG key ID: 53352FA607FA681A
2 changed files with 7 additions and 0 deletions

View file

@ -4,6 +4,7 @@
../../common/common.nix
../../common/nginx.nix
../../common/netdata.nix
./nginx.nix
./wireguard.nix
];

View file

@ -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;