Hi: I configure the puppet-dashboard with http basic auth ,but I am failed。
Software info: Dashboard: 1.2.0 Web server :nginx 1.0.0 Who can give me a configuration case ,includes setting.yml and nginx databoard-vhost? I'm in the following methods of allocation. ・ HTTP Basic Authentication ― When serving Dashboard via Apache, you can require a username and password to access its URLs by setting authentication rules for / in Dashboard’s vhost configuration: ・ <Location "/"> ・ Order allow,deny ・ Allow from 192.168.240.110 # your puppet master's IP ・ Satisfy any ・ AuthName "Puppet Dashboard" ・ AuthType Basic ・ AuthUserFile /etc/apache2/htpasswd ・ Require valid-user ・ </Location> Notice that you need to leave an access exception for your puppet master(s). Although it’s possible to configure Puppet to use a password when connecting to Dashboard (by adding a username and password <http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax> to Puppet’s reporturl and the URL used by the external_nodes script), this currently requires patching Puppet’s http report handler; see issue 7173 <http://projects.puppetlabs.com/issues/7173> for more details. 工作愉快! ---------------------------------------------------------------------------- --------------- 刘亚丹 liuyadan | 游戏事业部 运维组 广州华多网络科技有限公司珠海分公司 <http://www.duowan.com/> www.Duowan.com 广东珠海高新区软件园路1号A1栋13楼 (邮编 519080) 4th Floor, No. 44 Jianzhong Road, Guangzhou 510660 China T: +86 20 8555 5304 F: +86 20 8553 1397 @: liuya...@chinaduo.com M: 18666913224 QQ:540276873 YY: 909010403 广州Guangzhou | 北京Beijing | 上海Shanghai ............................................................................ .... 多玩游戏 多交朋友 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.