mirror of
https://github.com/kazu634/nginx-config.git
synced 2025-05-13 18:02:08 +00:00
Merge pull request #6 from kazu634/modify-default-config
Modify `default` config.
This commit is contained in:
commit
5d89637f53
@ -1,9 +1,11 @@
|
|||||||
# Denies the access without the pre-defined virtual host.
|
# Denies the access without the pre-defined virtual host.
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
|
listen 443 ssl default_server;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
location / {
|
ssl_certificate /etc/lego/.lego/certificates/_.kazu634.com.crt;
|
||||||
|
ssl_certificate_key /etc/lego/.lego/certificates/_.kazu634.com.key;
|
||||||
|
|
||||||
return 444;
|
return 444;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user