summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/api-ssl.site
blob: 37cc4598160b0967f3fb32b55ea014bca06e6e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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/api.taler.net/_build/html;

	# Make site accessible from http://localhost/
	server_name api.taler.net;
	server_name www.api.taler.net;

        include conf.d/talerssl;

	location / {
	    autoindex off;
	    ssi on;
#	    ssi_last_modified on;
	}

        include conf.d/favicon_robots;
}