mirror of
https://github.com/Finb/Bark.git
synced 2026-04-26 22:45:49 +03:00
[GH-ISSUE #20] https问题请教 #19
Labels
No labels
bug
enhancement
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Bark#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fengmikaelson on GitHub (Mar 11, 2019).
Original GitHub issue: https://github.com/Finb/Bark/issues/20
服务器上搭了个apache,域名申请了ssl证书,也部署上去了。
现在https访问域名能看到apache test页面
ios的bark上添加http地址能用,提交https就提示服务器无效。。。是哪里操作不对
谢谢这么好的软件、
@Finb commented on GitHub (Mar 12, 2019):
你这成功了一半,https没问题了,下一步是设置 反向代理 把请求转发给bark server。具体配置你可以搜一下 apache 反向代理 ,并不复杂
fengmikaelson notifications@github.com于2019年3月11日 周一23:10写道:
@fengmikaelson commented on GitHub (Mar 12, 2019):
谢谢提示。但是我设置了443请求全部反向代理到8080端口,还是不行。我尝试着将反向代理转至google,看了下有生效,访问我的域名能跳转到google。但是设置为8080,bark还是认不到。不知道是哪里还有问题。。
我在virtualhost里添加了
SSLProxyEngine on
ProxyRequests off
ProxyPass / http://x.x.x.:8080
ProxyPassReverse / http://x.x.x.x:8080
@Finb commented on GitHub (Mar 12, 2019):
你先测试下 bark 是否监听的是 8080
确保端口号正确,服务运行正常, 再设置
都完成之后, 测试服务器是否正常响应,之后再去客户端修改服务器地址
还不行的话,你或者需要找一个教程重新开始一遍
bark仅仅是一个http服务,不会对apache有任何影响,如果apache不能反代,则只可能是apache没配置好。
@fengmikaelson commented on GitHub (Mar 12, 2019):
我去。。。终于发现问题所在了。。。
ProxyPass / http://127.0.0.1:8080/
最后漏了一个“/”
真是醉了,折腾了一早上。
谢谢大佬耐心的指导。
真心太好用了你开发的这个工具。感激。