Apache HTTP Server

Table of Contents

Reference

htpasswd

htpasswd -c /etc/nginx/.htpasswd admin       # Create a new file with 'admin', prompt password
httpasswd /etc/nginx/.htpasswd yeonghoey     # Append 'yeonghoey' to the file, prompt password
htpasswd -b /etc/nginx/.htpasswd guest xxxxx # Append 'guest' to the file, with password 'xxxxx'