小编Mr *_*yde的帖子

Nginx 代理通过 SSL 验证

我正在使用 proxy_pass 指令到上游 https 服务器。代理服务器适用于 LAN 客户端。上游 https 服务器使用 LetsEncrypt。如何配置 SSL 验证?

proxy_pass https://upstream.backend
proxy_verify_ssl on;
proxy_ssl_trusted_certificate <which_file_is_supposed_to_be_here>;
proxy_ssl_verify_depth <what_number_here>;
Run Code Online (Sandbox Code Playgroud)

nginx proxypass

4
推荐指数
1
解决办法
8701
查看次数

标签 统计

nginx ×1

proxypass ×1