Fix install php interface
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
location <TPL:NGINX_LOCATION> {
|
||||
alias <TPL:NGINX_ALIAS>;
|
||||
alias <TPL:NGINX_REALPATH>;
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
@@ -8,7 +8,7 @@ location <TPL:NGINX_LOCATION> {
|
||||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm-roundcube.sock;
|
||||
fastcgi_pass unix:/var/run/php5-fpm-<TPL:PHP_NAME>.sock;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
|
Reference in New Issue
Block a user