mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3747] 配合nginx,代理公众号txt文件,使用 https:/域名/MP_*.txt 无法访问到文件,必须要加一层uri,比如加上 /mp :https:/域名/mp/MP_*.txt #2979
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#2979
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 @vual on GitHub (Nov 6, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3747
Bug Description
配合nginx,代理公众号txt文件,使用 https:/域名/MP_.txt 无法访问到文件,必须要加一层uri,比如加上 /mp :https:/域名/mp/MP_.txt
我通过本地访问是可以正常访问的 :https://localhost:端口/MP_.txt
nginx 配置应该是没问题
location /MP_.txt {
alias "D:/Program Files/nginx-1.25.3/html/MP_*.txt";
}
frpc Version
0.52.3
frps Version
0.52.3
System Architecture
windows/amd64
Configurations
proxies
name = "web"
type = "https"
localIP = "127.0.0.1"
localPort = 端口
customDomains = ["域名"]
Logs
No response
Steps to reproduce
...
Affected area
@vual commented on GitHub (Nov 6, 2023):
已解决 nginx 配置里只能用 = 号