~williamvds/website

website/nginx.conf -rw-r--r-- 442 bytes
54454d97williamvds Update CV and PDF 25 days 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
server {
	listen 80 default_server;
	server_name williamvds.me www.williamvds.me;

	location ~ /\.git {
		deny all;
	}

	include shared.conf;

	location / {
		return 301 https://$host$request_uri;
	}
}

server {
	listen 443 ssl default_server;
	server_name williamvds.me www.williamvds.me;

	location / {
		root   /srv/http/williamvds.me/public;
		index  index.html index.htm;
	}

	location ~ /\.git {
		deny all;
	}

	include shared.conf;
}