summaryrefslogtreecommitdiff
path: root/etc/nginx/apps/drupal/admin_basic_auth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nginx/apps/drupal/admin_basic_auth.conf')
-rw-r--r--etc/nginx/apps/drupal/admin_basic_auth.conf12
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/nginx/apps/drupal/admin_basic_auth.conf b/etc/nginx/apps/drupal/admin_basic_auth.conf
deleted file mode 100644
index cc796ce..0000000
--- a/etc/nginx/apps/drupal/admin_basic_auth.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
-
-## Protect the /admin URIs with a basic auth.
-location ^~ /admin {
- auth_basic "Restricted access"; #realm
- auth_basic_user_file .htpasswd-users;
-
- ## Include the specific FastCGI configuration. This is for a
- ## FCGI backend like php-cgi or php-fpm.
- include apps/drupal/fastcgi_drupal.conf;
- fastcgi_pass phpcgi;
-}