~ecs/ecs.d2evs.net

ecs.d2evs.net/nginx.conf -rw-r--r-- 561 bytes
c4d21abcEyal Sawady webring: move to bottom of page 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
server {
	listen 80;
	listen [::]:80;
	server_name ecs.d2evs.net;

	location / {
		return 302 https://$server_name$request_uri;
	}

	location ^~ /.well-known {
		root /var/www;
	}
}

server {
	listen 443 ssl http2;
	listen [::]:443 ssl http2;
	server_name ecs.d2evs.net;
	ssl_certificate /etc/ssl/uacme/d2evs.net/cert.pem;
	ssl_certificate_key /etc/ssl/uacme/private/d2evs.net/key.pem;
	charset utf-8;

	gzip on;

	location / {
		root /var/www/ecs.d2evs.net;
		try_files $uri $uri/index.md $uri/index.html 404.html;
	}

	location = /404.html {
		internal;
	}
}