From 3df047c527a5c41e236561fb1d79912c2cc3a784 Mon Sep 17 00:00:00 2001 From: SJ Date: Sat, 11 Feb 2017 15:50:01 +0100 Subject: [PATCH] fixing nginx config Change-Id: I575880cdd2770ffb2b948f3a34d485b09646ccf4 Signed-off-by: SJ --- contrib/webserver/piler-nginx.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/webserver/piler-nginx.conf b/contrib/webserver/piler-nginx.conf index f086ba80..9139419f 100644 --- a/contrib/webserver/piler-nginx.conf +++ b/contrib/webserver/piler-nginx.conf @@ -4,8 +4,8 @@ server { root /var/piler/www; - access_log /var/log/nginx/HOSTNAME-access.log; - error_log /var/log/nginx/HOSTNAME-error.log; + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; gzip on; gzip_types text/plain application/xml text/css; @@ -31,7 +31,8 @@ server { return 404; } - fastcgi_pass unix:/var/run/php5-fpm.sock; + #fastcgi_pass unix:/var/run/php5-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_index index.php; include fastcgi_params; } @@ -59,6 +60,7 @@ server { rewrite /customer.php /index.php?route=customer/list; rewrite /retention.php /index.php?route=policy/retention; rewrite /archiving.php /index.php?route=policy/archiving; + rewrite /legalhold.php /index.php?route=policy/legalhold; rewrite /view/javascript/piler.js /js.php; }