Merge pull request #6 from kazu634/modify-default-config

Modify `default` config.
This commit is contained in:
Kazuhiro MUSASHI 2023-06-03 10:21:34 +09:00 committed by GitHub
commit 5d89637f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,11 @@
# Denies the access without the pre-defined virtual host.
server {
listen 80 default_server;
listen 443 ssl default_server;
server_name _;
location / {
return 444;
}
ssl_certificate /etc/lego/.lego/certificates/_.kazu634.com.crt;
ssl_certificate_key /etc/lego/.lego/certificates/_.kazu634.com.key;
return 444;
}