Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the values of RedirectUrl and Hostname #1204

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions server/plugins/example/etc/resource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
["demo"]
SkipAuth = true
OpenTime = 120
RedirectUrl = "https://acdemo.opennhp.cn"
RedirectUrl = "https://acdemo.opennhp.org"
RedirectWithParams = false
CookieDomain = "opennhp.cn"
CookieDomain = "opennhp.org"

# syntax ["{ResourceId}".Resources."{ResourceName}"]
# ResourceName: name of resource inside a resource group. Each ResourceId can have multiple ResourceNames.
Expand All @@ -23,7 +23,7 @@ CookieDomain = "opennhp.cn"
# PortSuffix: true: fill ack field "resHost" with "{Hostname}:{Port}", false: fill ack field "resHost" with just "{Hostname}"
["demo".Resources."demoServer"]
ACId = "testAC-1"
Hostname = "acdemo.opennhp.cn"
Hostname = "acdemo.opennhp.org"
Addr.Ip = "220.191.216.236"
Addr.Port = 443 # empty or 0 for all ports
Addr.Protocol = "" # "tcp/udp/any", empty for "any"
Expand Down
Loading