parent
b3131cd950
commit
03d2de24aa
1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@ |
||||
server { |
||||
listen 80 default_server; |
||||
listen [::]:80 default_server; |
||||
server_name _; |
||||
root /dev/null; |
||||
|
||||
if ($host !~ ^(autoconfig.thelyoncompany.com|autodiscover.thelyoncompany.com|webmail.thelyoncompany.com|email.thelyoncompany.com|matrix.thelyoncompany.com|thelyoncompany.com)$ ) { |
||||
return 444; |
||||
} |
||||
|
||||
location / { |
||||
return 301 https://host$request_uri; |
||||
} |
||||
} |
Loading…
Reference in new issue