27 May 2015

Add a new user for HTTP Auth in EasyEngine setup.

openssl passwd -crypt <plain-text-password>

Above command will print the encrypted password on the console. Copy the encrypted password.

cd /etc/nginx
vim htpasswd-ee

Add following exact line at the end.

<username>:<encrypted-password>

Save the file.

You can commit this change if you want since EasyEngine keeps the nginx directory under version control.

And That’s it ! You’re good to go with following credentials for your HTTP Auth.

username : <username>
password : <plain-text-password>

Categories: Tags:

blog comments powered by Disqus