mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #1384] [CLOSED] protocol = websocketsecure #4371
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4371
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?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/1384
Author: @stl0755
Created: 8/14/2019
Status: ❌ Closed
Base:
dev← Head:master📝 Commits (4)
6451583Merge pull request #1349 from fatedier/devae08811Merge pull request #1364 from fatedier/dev134a46cMerge pull request #1369 from fatedier/dev59f35feprotocol = websocketsecure📊 Changes
9 files changed (+13 additions, -11 deletions)
View changed files
📝
cmd/frpc/sub/http.go(+1 -1)📝
cmd/frpc/sub/https.go(+1 -1)📝
cmd/frpc/sub/stcp.go(+1 -1)📝
cmd/frpc/sub/udp.go(+1 -1)📝
cmd/frpc/sub/xtcp.go(+1 -1)📝
conf/frpc_full.ini(+1 -1)📝
models/config/client_common.go(+1 -1)📝
utils/net/conn.go(+3 -1)📝
utils/net/websocket.go(+3 -3)📄 Description
websocketsecure support in frpc
It should fix https://github.com/fatedier/frp/issues/1161
frpc.ini
[common]
server_addr = 经cloudflare中转的域名
server_port = 443
protocol = websocketsecure
frps.ini
[common]
bind_port = 80
or behind traefik with https valid certificate such as acme
https://support.cloudflare.com/hc/zh-cn/articles/200170416-SSL-%E9%80%89%E9%A1%B9%E6%98%AF%E6%89%80%E6%8C%87%E7%9A%84%E6%98%AF%E4%BB%80%E4%B9%88-
Flexible (灵活) SSL:访问者与 Cloudflare 之间使用安全连接,但 Cloudflare 与您的源服务器之间没有安全连接。您的 Web 服务器不需要拥有 SSL 证书,但访问者仍然会浏览该网站的 HTTPS版本。如果您的网站上有任何敏感信息,并不建议使用此选项。此设置仅适用于端口 443-> 80,而不适用于我们支持的其他端口,如 2053。
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.