drupal_install.conf (545B)
1 # -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*- 2 3 ### Directives for installing drupal. This is for drupal 6 and 7. 4 5 location = /install.php { 6 auth_basic "Restricted Access"; # auth realm 7 auth_basic_user_file .htpasswd-users; # htpasswd file 8 fastcgi_pass phpcgi; 9 } 10 11 ## This is for drupal 8. There's a new location for the install file. 12 location = /core/install.php { 13 auth_basic "Restricted Access"; # auth realm 14 auth_basic_user_file .htpasswd-users; # htpasswd file 15 fastcgi_pass phpcgi; 16 }