first commit
This commit is contained in:
19
sites-enabled/default.conf
Normal file
19
sites-enabled/default.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
server {
|
||||
listen 80 default_server ;
|
||||
return 403;
|
||||
if ($request_method !~ ^(HEAD)$) {
|
||||
return '405';
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl default_server;
|
||||
return 403;
|
||||
if ($request_method !~ ^(HEAD)$) {
|
||||
return '405';
|
||||
}
|
||||
|
||||
ssl_certificate /etc/angie/ssl/angie.crt;
|
||||
ssl_certificate_key /etc/angie/ssl/angie.key;
|
||||
ssl_stapling off;
|
||||
}
|
||||
Reference in New Issue
Block a user