add blackhole for invalid subdomains
This commit is contained in:
parent
c7b771fb9f
commit
c630582dd1
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@
|
|||
|
||||
# This might create errors
|
||||
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
|
||||
|
||||
# prevent invalid subdomains "invalid ssl certificate" error (blackhole)
|
||||
virtualHosts."_".locations."/".return = "444";
|
||||
'';
|
||||
services.nginx.virtualHosts."reidlab.online" = {
|
||||
forceSSL = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue