summaryrefslogtreecommitdiff
path: root/guix/etc/nginx/sites-enabled/git.site
blob: 4c0c9ea8156f6641d10e584d84f5f3fb4397d48e (plain)
1
2
3
4
5
6
7
8
9
10
server {
        listen 80;
	listen   [::]:80; ## listen for ipv4; this line is default and implied
	# listen   [::]:80 default_server ipv6only=on; ## listen for ipv6

	root /var/git;
	server_name git.taler.net;

	rewrite ^ https://$server_name$request_uri? permanent;
}