tv nginx: return 404 by default
This commit is contained in:
parent
7a3e08e967
commit
563c7a7eaf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user