docker-compose-files/nginx
Baohua Yang f691010782 Add grpc nginx sample 2022-02-03 15:29:18 -08:00
..
nginx_auth Relocate the nginx auth sample 2022-02-02 17:45:54 -08:00
nginx_grpc_2 Add grpc nginx sample 2022-02-03 15:29:18 -08:00
nginx_https Add nginx https sample 2022-02-02 17:46:21 -08:00
nginx_https_2 Add nginx https 2 sample 2022-02-02 17:46:41 -08:00
README.md Add grpc nginx sample 2022-02-03 15:29:18 -08:00

README.md

Nginx samples

Nginx auth

Nginx serves as a proxy, and requires simple password to auth to access backend.

Nginx https

Nginx serves as a proxy, and terminates the ssl from client.

Nginx1 (ssl terminate) --> app

Nginx https 2

Nginx1 serves as a proxy, uses mutual tls to connect with nginx2, then nginx2 terminates the ssl from HTTP client.

Nginx1 (mutual tls) --> Nginx2 (ssl terminate) --> app

Nginx gRPC 2

Nginx1 serves as a proxy, uses mutual tls to connect with nginx2, then nginx2 terminates the ssl from a gRPC client.

Nginx1 (mutual tls) --> Nginx2 (ssl terminate) --> app