fixing nginx config

Change-Id: I575880cdd2770ffb2b948f3a34d485b09646ccf4
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ 2017-02-11 15:50:01 +01:00
parent 1722a3184b
commit 137aa4a94e

View File

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