Commits

Peter Eisentraut committed bbfca61

Add forwarding of root web page

  • Participants
  • Parent commits 30151d8

Comments (0)

Files changed (1)

File manifests/pgci.pp

 class { 'apache::mod::proxy': }
 class { 'apache::mod::proxy_http': }
 class { 'apache::mod::ssl': }
+apache::mod { 'rewrite': }
 
 file { '/etc/apache2': ensure => directory }
 file { '/etc/apache2/conf.d': ensure => directory }
 </IfModule>
 
 DocumentRoot /var/www
+
+RewriteEngine on
+RewriteRule ^/$ jenkins/ [R]
 ",
 
   notify => Service['httpd'],