diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-08-14 19:33:50 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-08-14 19:33:50 +0200 |
| commit | 098da93e5deb2fc0043e15f3817191f5bd668e34 (patch) | |
| tree | e779f777197a29a71dad5803b1d32f6302db7fb6 /config/services/web/default.nix | |
| parent | b08e8f21a4da329f0507eef1781a2e6922c27dc5 (diff) | |
restructure project
Diffstat (limited to 'config/services/web/default.nix')
| -rw-r--r-- | config/services/web/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config/services/web/default.nix b/config/services/web/default.nix new file mode 100644 index 0000000..e0bdae8 --- /dev/null +++ b/config/services/web/default.nix @@ -0,0 +1,24 @@ +{ ... }: + +{ + import = [ + ./quentin + ./searx + ]; + + security.acme = { + acceptTerms = true; + email = "quentin@aristote.fr"; + }; + + services.nginx = { + enable = true; + # return 444 when trying to connect directly through the IP address + virtualHosts."_" = { + default = true; + extraConfig = '' + return 444 + ''; + }; + }; +} |
