Sha256: 574f54bf2f4bdd76eabd90bcf257f3167377794d1d62b6b5c04482e2925b723c

Contents?: true

Size: 507 Bytes

Versions: 6

Compression:

Stored size: 507 Bytes

Contents

# Nginx config for Hudson CI behind a virtual host
# TODO: Add SSL support as per http://gist.github.com/460906

upstream hudson {
  server localhost:<%= @port %>;
}

server {
  listen 80 default;
  server_name hudson.example.com;

  location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto https;
    proxy_set_header Host $http_host;
    proxy_next_upstream error;
    proxy_pass http://hudson;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
engineyard-hudson-0.3.2 lib/engineyard-hudson/cli/install_server/templates/cookbooks/hudson_master/templates/default/proxy.conf.erb
engineyard-hudson-0.3.1 lib/engineyard-hudson/cli/install_server/templates/cookbooks/hudson_master/templates/default/proxy.conf.erb
engineyard-hudson-0.3.0 lib/engineyard-hudson/cli/install_server/templates/cookbooks/hudson_master/templates/default/proxy.conf.erb
engineyard-hudson-0.2.2 lib/engineyard-hudson/cli/server/templates/cookbooks/hudson_master/templates/default/proxy.conf.erb
engineyard-hudson-0.2.1 lib/engineyard-hudson/cli/server/templates/cookbooks/hudson_master/templates/default/proxy.conf.erb
engineyard-hudson-0.2.0 lib/engineyard-hudson/cli/server/templates/cookbooks/hudson_master/templates/default/proxy.conf.erb