-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nginx config for hudson, remove nginx for integrity
- Loading branch information
chris flöß
committed
Oct 15, 2010
1 parent
ec51337
commit 6419ed5
Showing
3 changed files
with
21 additions
and
54 deletions.
There are no files selected for viewing
52 changes: 0 additions & 52 deletions
52
modules/servercharlie/files/nginx_conf/sites-available/adva.nginx.conf
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
modules/servercharlie/files/nginx_conf/sites-available/hudson.nginx.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters