summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tv/2configs/nginx/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/tv/2configs/nginx/default.nix b/tv/2configs/nginx/default.nix
index 277f459f0..0e6c2df0e 100644
--- a/tv/2configs/nginx/default.nix
+++ b/tv/2configs/nginx/default.nix
@@ -4,6 +4,13 @@ with import <stockholm/lib>;
{
services.nginx = {
+ virtualHosts._http = {
+ default = true;
+ extraConfig = ''
+ return 404;
+ '';
+ };
+
virtualHosts.default = {
locations."= /etc/os-release".extraConfig = ''
default_type text/plain;