mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4434] Template render cannot handle "hostname" #3504
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#3504
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 @rty813 on GitHub (Sep 13, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4434
Bug Description
I set name as
test_{{ .Envs.hostname }}in the configuration file, but when I runhostname=123 frpc -c frpc.toml, the name shows astest_. If I replace hostname with something like hostname1 or another string, it works normally.frpc Version
0.60.0
frps Version
0.60.0
System Architecture
linux/amd64
Configurations
Logs
[test_] start proxy success
Steps to reproduce
No response
Affected area