3
我有一个监听端口8081的Web服务(这是一个在单声道上运行的ServiceStack REST Web服务,如果有帮助的话)。我试图用stunnel来保护它,但问题是,只要我连接到https://ip,它就会被重定向到http://ip:8081,这对我来说没有任何意义。 有人能指点我吗?我的stunnel配置文件如下:stunnel https被重定向到http
cert = stunnel.pem
chroot = /usr/local/var/run/stunnel/
pid = /stunnel.pid
setuid = nobody
setgid = nobody
foreground = yes
[https]
accept = 443
connect = 8081