Ubuntu-OpenSSL:错误:1408F10B:SSL例程:ssl3\u获取\u记录:版本号错误
我有2个域名;主域和api域,位于应用程序和数据库服务器的2个Ubuntu VPS上。我在SSL上发送内部请求api域时遇到问题 短错误;OpenSSL:错误:1408F10B:SSL例程:ssl3\u get\u记录:版本号错误 细节Ubuntu-OpenSSL:错误:1408F10B:SSL例程:ssl3\u获取\u记录:版本号错误,openssl,Openssl,我有2个域名;主域和api域,位于应用程序和数据库服务器的2个Ubuntu VPS上。我在SSL上发送内部请求api域时遇到问题 短错误;OpenSSL:错误:1408F10B:SSL例程:ssl3\u get\u记录:版本号错误 细节 在应用服务器上,Varnish侦听80端口并将请求重定向到Nginx 8080 Nginx侦听443端口 我只使用certbot安装了LetsEncrypt SSL 我使用Cloudflare作为代理 我在/etc/hosts上添加了一条规则来发送和获
- 在应用服务器上,Varnish侦听80端口并将请求重定向到Nginx 8080
- Nginx侦听443端口
- 我只使用certbot安装了LetsEncrypt SSL
- 我使用Cloudflare作为代理
- 我在/etc/hosts上添加了一条规则来发送和获取内部请求-应答,因为;外部请求迟于Cloudflare代理。 规则 127.0.0.1 myapidomain.com
backend panel {
.host = "127.0.0.1";
.port = "8080";
}
Nginx配置:
server {
listen 8080 default_server;
listen [::]:8080 default_server;
root /var/www/html/domain.com/public;
index index.php index.html index.htm;
server_name localhost api.mydomain.com;
...
ssl_certificate /etc/letsencrypt/live/mydom.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mydom.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
}
server {
listen 443;
root /var/www/html/domain.com/public;
index index.php index.html index.htm;
server_name localhost api.mydomain.com;
...
ssl_certificate /etc/letsencrypt/live/mydom.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mydom.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
}
你的想法是什么?
多谢各位