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; }