summaryrefslogtreecommitdiff
path: root/etc/nginx/apps/drupal/admin_basic_auth.conf
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-06-26 23:43:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-06-26 23:43:47 +0200
commitbb0c5ae74bd80516b769c00c81bedf11a4d3e9ed (patch)
tree48e3900b4361ef67e7ff18292a1f2d7f50071997 /etc/nginx/apps/drupal/admin_basic_auth.conf
parentfee9c9c5ee14babc680214efb65e187a8765b601 (diff)
downloaddeployment-bb0c5ae74bd80516b769c00c81bedf11a4d3e9ed.tar.gz
deployment-bb0c5ae74bd80516b769c00c81bedf11a4d3e9ed.tar.bz2
deployment-bb0c5ae74bd80516b769c00c81bedf11a4d3e9ed.zip
We have /etc in a separate repo for the server now.
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;
-}