tv nginx: return 404 by default
This commit is contained in:
parent
eafa36c2b1
commit
7efec736b2
@ -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