Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<VirtualHost <fqdn>:80>
        ServerAdmin     foo@bar.com
        ServerName      puppetmaster_foreman
        ServerAlias     puppetmaster_foreman


<Directory />
        Options -Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
   AuthType Basic
   AuthName "foreman"
   AuthUserfile /etc/foreman/.htaccess
   Require valid-user
</Directory>

    ProxyPass / http://127.0.0.1:3000/ timeout=180

    ErrorLog  /var/log/puppet/foreman_error.log
    CustomLog /var/log/puppet/foreman_access.log combined

</VirtualHost>