apache conf and add apache to make jenkins behave

This commit is contained in:
Seth Vidal 2012-12-18 21:05:14 +00:00
parent 849fe2ba14
commit 0eda7953bd
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,9 @@
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
ProxyRequests Off
# Local reverse proxy authorization override
<Proxy http://localhost:8080/*>
Order deny,allow
Allow from all
</Proxy>

View file

@ -37,9 +37,20 @@
- dejavu-s\* - dejavu-s\*
- fontconfig - fontconfig
- java-1.6.0-openjdk - java-1.6.0-openjdk
- httpd
tags: tags:
- packages - packages
- name: add jenkins proxy config file for apache
action: copy src=$files/jenkins/master/jenkins-apache.conf dest=/etc/httpd/conf.d/jenkins-apache.conf owner=root group=root mode=0644
notify:
- restart httpd
tags:
- config
- name: enable apache
action: service name=httpd state=running enabled=true
- name: add jenkins upstream repo - name: add jenkins upstream repo
action: copy src=$files/jenkins/master/jenkins.repo dest=/etc/yum.repos.d/jenkins.repo owner=root group=root action: copy src=$files/jenkins/master/jenkins.repo dest=/etc/yum.repos.d/jenkins.repo owner=root group=root
tags: tags: