summaryrefslogtreecommitdiff
path: root/etc/nginx/sites-enabled/test
blob: 629b69de6e8c30106cfbf96e3130af62a78c2434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
}