mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 02:11:59 +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;
|
root /var/piler/www;
|
||||||
|
|
||||||
access_log /var/log/nginx/HOSTNAME-access.log;
|
access_log /var/log/nginx/access.log;
|
||||||
error_log /var/log/nginx/HOSTNAME-error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_types text/plain application/xml text/css;
|
gzip_types text/plain application/xml text/css;
|
||||||
@ -31,7 +31,8 @@ server {
|
|||||||
return 404;
|
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;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
}
|
}
|
||||||
@ -59,6 +60,7 @@ server {
|
|||||||
rewrite /customer.php /index.php?route=customer/list;
|
rewrite /customer.php /index.php?route=customer/list;
|
||||||
rewrite /retention.php /index.php?route=policy/retention;
|
rewrite /retention.php /index.php?route=policy/retention;
|
||||||
rewrite /archiving.php /index.php?route=policy/archiving;
|
rewrite /archiving.php /index.php?route=policy/archiving;
|
||||||
|
rewrite /legalhold.php /index.php?route=policy/legalhold;
|
||||||
rewrite /view/javascript/piler.js /js.php;
|
rewrite /view/javascript/piler.js /js.php;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user