Skip to content

Commit 7b8be3e

Browse files
committed
nixos.nginx: add default host
1 parent de409e3 commit 7b8be3e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

nixos/applications/tobias-happ/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ in
3333

3434
services.nginx.virtualHosts = {
3535
"tobias-happ.de" = {
36-
default = true;
3736
root = "/var/empty";
3837
enableACME = true;
3938
forceSSL = true;

nixos/services/applications/nginx.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ in
4141
recommendedTlsSettings = true;
4242
recommendedGzipSettings = true;
4343
recommendedProxySettings = true;
44+
45+
virtualHosts._ = {
46+
default = true;
47+
root = "/var/empty";
48+
};
49+
4450
};
4551

4652
};

0 commit comments

Comments
 (0)