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

	root /var/www/taler.net;

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

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

#	location / {
#	    autoindex off;
#	    ssi on;
##	    ssi_last_modified on;
# 	    rewrite /citizens /citizens.html break;
#	    rewrite /developers /developers.html break;
#	    rewrite /merchants /merchants.html break;
#            rewrite /governments /governments.html break;
#            rewrite /investors /investors.html break;
#            rewrite /about /about.html break;
#	    rewrite /news /news.html break;
#	}
}