diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-07-25 18:34:37 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-07-25 18:34:37 +0200 |
commit | 8101cf96c61bd3818f13092dd964f5d2ac11df74 (patch) | |
tree | f26b7d6ad099494281c882a184c95de0a15e9631 | |
parent | ad033e20c2b9c2c8fe5678393917d5a463c59b81 (diff) |
removing old nginx conf example
-rw-r--r-- | examples/blog/nginx_example.conf | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/examples/blog/nginx_example.conf b/examples/blog/nginx_example.conf deleted file mode 100644 index cb80f997..00000000 --- a/examples/blog/nginx_example.conf +++ /dev/null @@ -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; - } - -} |