commit 8101cf96c61bd3818f13092dd964f5d2ac11df74 parent ad033e20c2b9c2c8fe5678393917d5a463c59b81 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Mon, 25 Jul 2016 18:34:37 +0200 removing old nginx conf example Diffstat:
| D | examples/blog/nginx_example.conf | | | 40 | ---------------------------------------- |
1 file changed, 0 insertions(+), 40 deletions(-)
diff --git a/examples/blog/nginx_example.conf b/examples/blog/nginx_example.conf @@ -1,40 +0,0 @@ -server { - listen 80; ## listen for ipv4; this line is default and implied - # listen [::]:80 default_server ipv6only=on; ## listen for ipv6 - server_name example.com; - - # WARNING the 'blog' directory can't be freely moved in your filesystem - # because it includes some PHP files via relative path (../../copylib) - root /path/to/merchant/examples/blog; - index index.php; - - # Make site accessible from http://localhost/ - - location / { - try_files $uri $uri/ =404; - rewrite /taler/pay /pay.php; - rewrite /taler/contract /generate_taler_contract.php; - - } - - location /fullfillment { - rewrite /(.*) /$1.php; - - } - - location ~ \.php$ { - - fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include fastcgi_params; - - } - - location /backend { - rewrite /backend/(.*) /$1 break; - proxy_pass http://127.0.0.1:19966; - proxy_redirect off; - proxy_set_header Host $host; - } - -}