summaryrefslogtreecommitdiff
path: root/etc/nginx/apps/drupal/drupal_install.conf
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-03-01 23:32:25 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-03-01 23:32:25 +0100
commit8a1178cb9785495784ef200757e5b8a61772290a (patch)
tree763e5079bfa9f8948bd1fd217731329b24d2d0d3 /etc/nginx/apps/drupal/drupal_install.conf
parentb03a3623188e2f7e32ca226877f6f4a28d4471db (diff)
downloaddeployment-8a1178cb9785495784ef200757e5b8a61772290a.tar.gz
deployment-8a1178cb9785495784ef200757e5b8a61772290a.tar.bz2
deployment-8a1178cb9785495784ef200757e5b8a61772290a.zip
missing drupal stuff
Diffstat (limited to 'etc/nginx/apps/drupal/drupal_install.conf')
-rw-r--r--etc/nginx/apps/drupal/drupal_install.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/nginx/apps/drupal/drupal_install.conf b/etc/nginx/apps/drupal/drupal_install.conf
new file mode 100644
index 0000000..1f4f11b
--- /dev/null
+++ b/etc/nginx/apps/drupal/drupal_install.conf
@@ -0,0 +1,16 @@
+# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
+
+### Directives for installing drupal. This is for drupal 6 and 7.
+
+location = /install.php {
+ auth_basic "Restricted Access"; # auth realm
+ auth_basic_user_file .htpasswd-users; # htpasswd file
+ fastcgi_pass phpcgi;
+}
+
+## This is for drupal 8. There's a new location for the install file.
+location = /core/install.php {
+ auth_basic "Restricted Access"; # auth realm
+ auth_basic_user_file .htpasswd-users; # htpasswd file
+ fastcgi_pass phpcgi;
+}