Skip to content

angel-example/ssl_multiserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssl_multiserver

SSL with the load balancer, as well as forcing https.

The approach is simple: we will run two servers in parallel (not counting nodes within our cluster).

  1. Our actual load balancer, serving only HTTPS requests. Use the LoadBalancer.secure constructor.
  2. An HTTP server that redirects all incoming requests to the matching https:// path.

To run this example:

$ pub get
$ sudo dart bin/server.dart # sudo is necessary because we are listening at :80 and :443.

About

SSL with the load balancer, as well as forcing https.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages