Create an nginx basic auth password file Monday, February 15, 2016 Posted by Andre Broers Use the following command to create a password file: $ printf "john:$(openssl passwd -crypt s3cr3t)\n" > passwords Email ThisBlogThis!Share to TwitterShare to Facebook