admin_basic_auth.conf (417B)
1 # -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*- 2 3 ## Protect the /admin URIs with a basic auth. 4 location ^~ /admin { 5 auth_basic "Restricted access"; #realm 6 auth_basic_user_file .htpasswd-users; 7 8 ## Include the specific FastCGI configuration. This is for a 9 ## FCGI backend like php-cgi or php-fpm. 10 include apps/drupal/fastcgi_drupal.conf; 11 fastcgi_pass phpcgi; 12 }