Browse Source

Fixed Issue 98: Allow Access For Status Pages Using Whitelist IP Address OR HTTP Auth

old-stable
Mitesh Shah 11 years ago
parent
commit
eddbb15ed0
  1. 6
      etc/nginx/common/locations.conf

6
etc/nginx/common/locations.conf

@ -60,12 +60,18 @@ location /phpmyadmin {
location /nginx_status {
stub_status on;
access_log off;
satisfy any;
auth_basic "Restricted Area";
auth_basic_user_file htpasswd-ee;
include common/allowed_ip.conf;
}
location ~ ^/(status|ping) {
include fastcgi_params;
fastcgi_pass php;
satisfy any;
auth_basic "Restricted Area";
auth_basic_user_file htpasswd-ee;
include common/allowed_ip.conf;
}

Loading…
Cancel
Save