github.com/chasestarr/deis@v1.13.5-0.20170519182049-1d9e59fbdbfc/router/rootfs/etc/confd/templates/deis.conf (about)

     1  {{ $useProxyProtocol := or (getv "/deis/router/proxyProtocol") "false" }}
     2  server_name_in_redirect off;
     3  port_in_redirect off;
     4  listen 80{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
     5  
     6  {{ if exists "/deis/router/sslCert" }}
     7  listen 443 ssl http2{{ if ne $useProxyProtocol "false" }} proxy_protocol{{ end }};
     8  ssl_certificate /etc/ssl/deis.cert;
     9  ssl_certificate_key /etc/ssl/deis.key;
    10  include ssl.conf;
    11  {{ end }}