Git Product home page Git Product logo

Comments (4)

Finb avatar Finb commented on July 18, 2024 1

from bark.

Finb avatar Finb commented on July 18, 2024 1

你先测试下 bark 是否监听的是 8080

curl http://127.0.0.1:8080/ping 
//正常将返回 code 200 

确保端口号正确,服务运行正常, 再设置

...
ProxyPass / http://127.0.0.1:8080/
...

都完成之后, 测试服务器是否正常响应,之后再去客户端修改服务器地址

curl https://x.x.x.x/ping 

还不行的话,你或者需要找一个教程重新开始一遍
bark仅仅是一个http服务,不会对apache有任何影响,如果apache不能反代,则只可能是apache没配置好。

from bark.

fengmikaelson avatar fengmikaelson commented on July 18, 2024 1

我去。。。终于发现问题所在了。。。
ProxyPass / http://127.0.0.1:8080/
最后漏了一个“/”
真是醉了,折腾了一早上。
谢谢大佬耐心的指导。
真心太好用了你开发的这个工具。感激。

from bark.

fengmikaelson avatar fengmikaelson commented on July 18, 2024

你这成功了一半,https没问题了,下一步是设置 反向代理 把请求转发给bark server。具体配置你可以搜一下 apache 反向代理 ,并不复杂 fengmikaelson [email protected]于2019年3月11日 周一23:10写道:

服务器上搭了个apache,域名申请了ssl证书,也部署上去了。 现在https访问域名能看到apache test页面 ios的bark上添加http地址能用,提交https就提示服务器无效。。。是哪里操作不对 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#20>, or mute the thread https://github.com/notifications/unsubscribe-auth/AGhzWBMXLvPxHZJKSOSm_FEYdQ_MMKmmks5vVnHpgaJpZM4bo1ww .

谢谢提示。但是我设置了443请求全部反向代理到8080端口,还是不行。我尝试着将反向代理转至google,看了下有生效,访问我的域名能跳转到google。但是设置为8080,bark还是认不到。不知道是哪里还有问题。。
我在virtualhost里添加了
SSLProxyEngine on
ProxyRequests off
ProxyPass / http://x.x.x.:8080
ProxyPassReverse / http://x.x.x.x:8080

from bark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.