明文监视用户和密码

Cleartext Monit User & Pass

我正在关注这本精彩的书:可靠地部署 Rails 应用程序,有人建议我:

Copy the contents of nodes/rails_- postgres_redis.json.example to this file and change the username and password for monit.

Monit 文档说我可以安全地发送用户并传递 SSL 证书,但我的问题是 我应该使用哪个 user/pass ? (我的 VPS?我自己的电脑?一些 Monit 生成的用户?)

上下文:学习将 Rails 应用程序部署到 VPS,例如 DigitalOcean 或 Linode

作者在这里,所以是这一行:

https://github.com/TalkingQuickly/rails-server-template/blob/master/nodes/rails_postgres_redis.json.example#L27

并且应该是Monit专用的新用户名和密码。因此它可以是您想要的任何内容,但最好不要与您的任何其他用户名和密码相同。