Sindbad~EG File Manager
Current Path : /etc/nginx/ea-nginx/ |
|
Current File : //etc/nginx/ea-nginx/cpanel-php-location.tt |
[%- IF fpm_socket %]
location ~ \.php[% fpm_socket_php_major_version ? fpm_socket_php_major_version _ "?" : "" %]$ {
try_files $uri =404;
include conf.d/includes-optional/cpanel-fastcgi.conf;
fastcgi_pass unix:[% fpm_socket %];
error_page 502 503 /FPM_50x.html;
}
[% ELSE %]
location ~ \.php[0-9]?$ {
try_files $uri =404;
error_page 502 503 /FPM_50x.html;
return 502;
}
[%- END %]
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists