2023-01-28 10:46:57 +00:00
|
|
|
# Denies the access without the pre-defined virtual host.
|
|
|
|
server {
|
|
|
|
listen 80 default_server;
|
2023-06-03 01:19:53 +00:00
|
|
|
listen 443 ssl default_server;
|
2023-01-28 10:46:57 +00:00
|
|
|
server_name _;
|
|
|
|
|
2023-06-03 01:19:53 +00:00
|
|
|
ssl_certificate /etc/lego/.lego/certificates/_.kazu634.com.crt;
|
|
|
|
ssl_certificate_key /etc/lego/.lego/certificates/_.kazu634.com.key;
|
|
|
|
|
|
|
|
return 444;
|
2023-01-28 10:46:57 +00:00
|
|
|
}
|