Sha256: 4bb9166734bf3615085a91f843f10190be5a9dea44c70de64bf11a3c04316113

Contents?: true

Size: 832 Bytes

Versions: 19

Compression:

Stored size: 832 Bytes

Contents

# this file is auto-generated by daddy-<%= daddy_version %>

upstream jenkins {
  server localhost:8080;
}

server {
  listen 80;
  listen 443 ssl;
  server_name <%= @server_name %>;
  #access_log /var/log/nginx/jenkins_access.log ltsv;
<% if @ssl_certificate and @ssl_certificate_key -%>
  ssl_certificate <%= @ssl_certificate %>;
  ssl_certificate_key <%= @ssl_certificate_key %>;
<% end -%>
  root /var/cache/jenkins/war;

  location / {
    #auth_basic "Jenkins";
    #auth_basic_user_file conf.d/.htpasswd;
    proxy_pass http://jenkins;
    proxy_redirect http:// https://;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Proto https;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-User $remote_user;
  }
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
daddy-0.5.32 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.31 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.30 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.29 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.28 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.27 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.26 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.25 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.24 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.23 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.22 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.21 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.20 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.19 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.18 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.17 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.16 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.15 lib/tasks/jenkins/nginx.conf.erb
daddy-0.5.14 lib/tasks/jenkins/nginx.conf.erb