Sindbad~EG File Manager
# Vhost for the Varnish PHP Api when deployed on a cache server.
server {
listen 444 ssl default_server;
listen [::]:444 ssl default_server;
server_name _;
root /opt/web/varnish/public;
location / {
allow 109.234.160.0/21;
allow 185.154.136.0/21;
allow 10.0.0.0/8;
allow 212.47.251.247;
allow 82.64.127.72;
allow 51.158.99.101;
allow 212.47.239.147;
allow 127.0.0.1;
deny all;
try_files $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
fastcgi_pass unix:/var/run/php-fpm-varnish.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
internal;
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists