mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 06:10:12 +01:00
fixing nginx config
Change-Id: I575880cdd2770ffb2b948f3a34d485b09646ccf4 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
1722a3184b
commit
137aa4a94e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user