From 875b1150d10c43d8ffedee7e7a50ab9db8b99434 Mon Sep 17 00:00:00 2001 From: SJ Date: Sat, 31 Dec 2016 15:55:51 +0100 Subject: [PATCH] gui path fixes Change-Id: I3ea5773b1f1a55ac46e4f0e9b7ae661983f2784b Signed-off-by: SJ --- contrib/webserver/piler-nginx.conf | 2 +- webui/config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/webserver/piler-nginx.conf b/contrib/webserver/piler-nginx.conf index 36929905..f086ba80 100644 --- a/contrib/webserver/piler-nginx.conf +++ b/contrib/webserver/piler-nginx.conf @@ -2,7 +2,7 @@ server { server_name HOSTNAME; - root /var/www/piler; + root /var/piler/www; access_log /var/log/nginx/HOSTNAME-access.log; error_log /var/log/nginx/HOSTNAME-error.log; diff --git a/webui/config.php b/webui/config.php index e81f51ab..c2742f53 100644 --- a/webui/config.php +++ b/webui/config.php @@ -179,7 +179,7 @@ $config['PILER_HEADER_FIELD'] = 'X-piler-id: '; $config['DEFAULT_POLICY'] = 'default_policy'; -$config['DIR_BASE'] = '/var/www/piler.yourdomain.com/'; +$config['DIR_BASE'] = '/var/piler/www/'; $config['DIR_SPHINX'] = '/var/piler/sphinx/'; $config['DIR_STAT'] = '/var/piler/stat';