diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-03-01 23:04:08 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-03-01 23:04:08 +0100 |
commit | 63071162bd311f2724c1d29efc05f4ef4aa48a71 (patch) | |
tree | d52b581d3ed6292c97fec70c9dfb8b317b5a3dfa | |
parent | 7e51e4061085f0f110bfcfd07137e7a01456b097 (diff) | |
download | deployment-63071162bd311f2724c1d29efc05f4ef4aa48a71.tar.gz deployment-63071162bd311f2724c1d29efc05f4ef4aa48a71.tar.bz2 deployment-63071162bd311f2724c1d29efc05f4ef4aa48a71.zip |
missing file
-rw-r--r-- | etc/nginx-sites-enabled/test.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/nginx-sites-enabled/test.inc b/etc/nginx-sites-enabled/test.inc new file mode 100644 index 0000000..629b69d --- /dev/null +++ b/etc/nginx-sites-enabled/test.inc @@ -0,0 +1,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; +} |