Technical Recipes
Monday 19, December 2011
Just add the following lines to your nginx.conf file:
location /mydirectory { auth_basic "Restricted"; auth_basic_user_file htpasswd; }
The htpasswd could be create with the following command:
$ htpasswd -c htpasswd myuser
To see how to do that with Apache take a look here.
Pages:
Tags
My latest tweets
@greggpollack Looking forward for it!!
@gaalal Puerta del Sol, 19:30h #PrimaveraValenciana #yotambiensoyelenemigo
Hoy más que nunca: Vergüenza me daría ser policía #PrimaveraValenciana
Cuando el "enemigo" son los estudiantes y los periodístas, algo muy grave está pasando #PrimaveraValenciana




