Nginx反代后配置自动ssl续签
Author: Gentleman.Hu
Create Time: 2020-11-13 13:56:23
Modified by: Gentleman.Hu
Modified time: 2020-11-13 13:59:37
Email: [email protected]
Home: https://crushing.xyz
Description:Nginx配置反代后,如何自动续签ssl
反代
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://localhost:8080/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) http://localhost:8080/$1 [P,L]
ProxyRequests off
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/自动续签
负载均衡
https://blog.csdn.net/specter11235/article/details/79922149?depth_1-
Last updated
Was this helpful?