default.conf
· 328 B · Text
Неформатований
http {
server {
listen 80 default_server;
server_name _;
return 404;
}
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
return 404;
}
}
1 | http { |
2 | |
3 | server { |
4 | listen 80 default_server; |
5 | server_name _; |
6 | |
7 | return 404; |
8 | } |
9 | |
10 | |
11 | server { |
12 | listen 443 ssl; |
13 | server_name _; |
14 | |
15 | ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; |
16 | ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; |
17 | |
18 | return 404; |
19 | } |
20 | |
21 | } |