Skip to content

Commit

Permalink
Add nginx config for hudson, remove nginx for integrity
Browse files Browse the repository at this point in the history
  • Loading branch information
chris flöß committed Oct 15, 2010
1 parent ec51337 commit 6419ed5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 54 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
server {
listen 9292;
server_name hudson
access_log /var/log/hudson/nginx.hudson.log
root /var/lib/hudson

location / {
proxy_pass http://127.0.0.1:8080/;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

# The next two lines should be commented out when the server goes live
#auth_basic "Production";
#auth_basic_user_file ci.advabest;

}
4 changes: 2 additions & 2 deletions modules/servercharlie/manifests/nginx.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
group => "root",
mode => 755,
source => "puppet:///servercharlie/nginx_conf/nginx.conf";
"/opt/nginx/conf/sites-available/adva.nginx.conf":
"/opt/nginx/conf/sites-available/hudson.nginx.conf":
ensure => present,
owner => "root",
group => "root",
Expand Down Expand Up @@ -75,7 +75,7 @@
}
# now the links
file {
"/opt/nginx/conf/sites-enabled/adva.nginx.conf":
"/opt/nginx/conf/sites-enabled/hudson.nginx.conf":
ensure => "/opt/nginx/conf/sites-available/adva.nginx.conf",
owner => "root",
group => "root",
Expand Down

0 comments on commit 6419ed5

Please sign in to comment.