github.com/googlecloudplatform/kubernetes-workshops@v0.0.0-20180501174420-d8199445b2c3/bundles/kubernetes-101/workshop/kubernetes/nginx/frontend.conf (about)

     1  upstream hello {
     2      server hello;
     3  }
     4  
     5  upstream auth {
     6      server auth;
     7  }
     8  
     9  server {
    10      listen 443;
    11      ssl    on;
    12  
    13      ssl_certificate     /etc/tls/cert.pem;
    14      ssl_certificate_key /etc/tls/key.pem;
    15  
    16      location / {
    17          proxy_pass http://hello;
    18      }
    19  
    20      location /login {
    21          proxy_pass http://auth;
    22      }
    23  }