blob: 372928c8d56c463a9fe54a4fa16977ec05a57a78 (
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
26
|
server {
listen 80; ## listen for ipv4; this line is default and implied
# listen [::]:80 default_server ipv6only=on; ## listen for ipv6
root /home/test/landing/;
index index.html;
# Make site accessible from http://localhost/
server_name test.taler.net;
server_name www.test.taler.net;
rewrite ^/bank $scheme://bank.test.taler.net/ redirect;
rewrite ^/shop $scheme://shop.test.taler.net/ redirect;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location /extension {
root /home/test/wallet/wallet_button/firefox_src/xpi/;
rewrite /extension /taler-wallet.xpi break;
}
}
|