07-14-2019, 06:25 PM
I installed gekko on an EC2 instance however by adding:
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
to the / etc / nginx / sites-enabled / default file and typing at the command prompt:
printf "username:` openssl passwd -apr1`n ">> /etc/nginx/.htpasswd
I am prompted to enter the password for 2 times, no other password I enter after I can access via web, presenting the user window and password and I can not access the web interface.
When I remove the
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
everything works perfectly
The EC2 instance is with ubuntu 18.04
nginx
https
Could someone help me? Sorry the english, more and the google translator.
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
to the / etc / nginx / sites-enabled / default file and typing at the command prompt:
printf "username:` openssl passwd -apr1`n ">> /etc/nginx/.htpasswd
I am prompted to enter the password for 2 times, no other password I enter after I can access via web, presenting the user window and password and I can not access the web interface.
When I remove the
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
everything works perfectly
The EC2 instance is with ubuntu 18.04
nginx
https
Could someone help me? Sorry the english, more and the google translator.