From 300f01756d3534f32321ad7fa0985d2b67dbde5d Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Tue, 5 May 2015 12:50:42 +0530 Subject: [PATCH] HTTP auth made global and removed unwanted location block --- ee/cli/templates/22222.mustache | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ee/cli/templates/22222.mustache b/ee/cli/templates/22222.mustache index ed306156..1d2df44d 100644 --- a/ee/cli/templates/22222.mustache +++ b/ee/cli/templates/22222.mustache @@ -19,15 +19,14 @@ server { # Turn on directory listing autoindex on; + # HTTP Authentication on port 22222 + include common/acl.conf; + location / { - include common/acl.conf; try_files $uri $uri/ /index.php?$args; } - location = /fpm/status/ {} - location ~ /fpm/status/(.*) { - include common/acl.conf; try_files $uri =404; include fastcgi_params; fastcgi_param SCRIPT_NAME /status; @@ -35,7 +34,6 @@ server { } location ~ \.php$ { - include common/acl.conf; try_files $uri =404; include fastcgi_params; fastcgi_pass php;