profiles/common-webserver: Terminate http sessions for unknown vhosts immediately
This commit is contained in:
@@ -53,10 +53,8 @@ in {
|
|||||||
default = true;
|
default = true;
|
||||||
rejectSSL = true;
|
rejectSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
return = ''200 "Some piece of infrastructure\n"'';
|
# Terminate connection without response
|
||||||
extraConfig = ''
|
return = ''444'';
|
||||||
types { } default_type "text/plain; charset=utf-8";
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user