diff options
Diffstat (limited to 'guix/etc/nginx/apps/drupal/drupal_install.conf')
-rw-r--r-- | guix/etc/nginx/apps/drupal/drupal_install.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/guix/etc/nginx/apps/drupal/drupal_install.conf b/guix/etc/nginx/apps/drupal/drupal_install.conf new file mode 100644 index 0000000..1f4f11b --- /dev/null +++ b/guix/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; +} |