mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2213] How to get the VirtualHost serverName of local Apache in PHP using https2http plug-in #1762
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#1762
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 @phaserwork on GitHub (Jan 25, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2213
When I use PHP to get the protocol://serverName, the result is http://127.0.0.1. I want to get https://www.xxx.com how to do it?
frps.inifrpc.iniwindows
hostshttpd-vhosts.confwithwampserver@fatedier commented on GitHub (Jan 26, 2021):
Remove
plugin_host_header_rewrite = 127.0.0.1@phaserwork commented on GitHub (Jan 26, 2021):
Thank you! finally, I understand.
However, for the
protocolissue, my local must also behttps. Likehttps2https, otherwise theprotocolobtained in PHP is stillhttp.@fatedier commented on GitHub (Jan 27, 2021):
You can just use
httpswithouthttps2httpplugin. However, you can't use custom certs for it.Or you can wait for next release version,
https2httpswill be supported.