summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/buildbot-ssl.site
blob: a79d3cdd7f4e2d18c38910e33de2c2bf8e96c8c8 (plain)
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
server {
        listen 443 ssl;
	listen   [::]:443 ssl; ## listen for ipv4; this line is default and implied
 	# 	listen   [::]:80 default_server ipv6only=on; ## listen for ipv6

	root /var/www/buildbot/;

	# Make site accessible from http://localhost/
	server_name buildbot.taler.net;
	server_name www.buildbot.taler.net;
        include conf.d/talerssl;

	location / {
	    proxy_pass http://localhost:8010;
	    proxy_redirect off;
	    proxy_set_header Host $host;
	}

        error_page 502 /502.html;
        location = /502.html {
            root /home/fournier/buildbot;
        }

        include conf.d/favicon_robots;
}