最后活跃于 1717238660

stuzer05 修订了这个 Gist 1717238660. 跳至此修订

1 file changed, 21 insertions

default.conf(文件已创建)

@@ -0,0 +1,21 @@
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 + }
更新 更早