Initial commit.
This commit is contained in:
19
nginx/conf.d/blank.conf
Normal file
19
nginx/conf.d/blank.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
upstream php-blank {
|
||||
server unix:/var/run/php-fpm.sock fail_timeout=0;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 192.168.1.2:80;
|
||||
server_name 192.168.1.2;
|
||||
|
||||
location ~ ^/(status|fpm-status|ping)$ {
|
||||
access_log off;
|
||||
allow 127.0.0.1;
|
||||
allow 192.168.1.2;
|
||||
allow 10.208.1.202;
|
||||
deny all;
|
||||
include fastcgi.conf;
|
||||
fastcgi_pass php-blank;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user