Sha256: 8721609ee12cf10f9abddcc43d2b35afbf955b8dd1176ba96d2f5c03d0122028
Contents?: true
Size: 808 Bytes
Versions: 3
Compression:
Stored size: 808 Bytes
Contents
server { listen 8008 ssl; listen [::]:8008 ssl; server_name {{ inventory_hostname }} {{ ec2['public_dns_name'] }} {{ ec2['private_dns_name'] }}; ssl_certificate /etc/ssl/certs/{{ inventory_hostname }}.crt; ssl_certificate_key /etc/ssl/private/{{ inventory_hostname }}.key; # ssl_dhparam /etc/ssl/certs/dhparam.pem; location / { proxy_pass {%- for node,meta in mu_deployment['servers']['backend'].items() %} {%- for k,v in meta.items() %} {%- if k in ["private_ip_address"] %} https://{{ v }}:8200; {%- endif %} {%- endfor %} {%- if not loop.last %},{%- endif %} {%- endfor %} proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } }
Version data entries
3 entries across 3 versions & 1 rubygems