mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
cmd/derper: link to various derper docs in more places
In hopes it'll be found more. Updates tailscale/corp#20844 Change-Id: Ic92ee9908f45b88f8770de285f838333f9467465 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
b3f91845dc
commit
6b801a8e9e
@ -2,6 +2,12 @@
|
|||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
// The derper binary is a simple DERP server.
|
// The derper binary is a simple DERP server.
|
||||||
|
//
|
||||||
|
// For more information, see:
|
||||||
|
//
|
||||||
|
// - About: https://tailscale.com/kb/1232/derp-servers
|
||||||
|
// - Protocol & Go docs: https://pkg.go.dev/tailscale.com/derp
|
||||||
|
// - Running a DERP server: https://github.com/tailscale/tailscale/tree/main/cmd/derper#derp
|
||||||
package main // import "tailscale.com/cmd/derper"
|
package main // import "tailscale.com/cmd/derper"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -209,11 +215,16 @@ func main() {
|
|||||||
io.WriteString(w, `<html><body>
|
io.WriteString(w, `<html><body>
|
||||||
<h1>DERP</h1>
|
<h1>DERP</h1>
|
||||||
<p>
|
<p>
|
||||||
This is a
|
This is a <a href="https://tailscale.com/">Tailscale</a> DERP server.
|
||||||
<a href="https://tailscale.com/">Tailscale</a>
|
|
||||||
<a href="https://pkg.go.dev/tailscale.com/derp">DERP</a>
|
|
||||||
server.
|
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
Documentation:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://tailscale.com/kb/1232/derp-servers">About DERP</a></li>
|
||||||
|
<li><a href="https://pkg.go.dev/tailscale.com/derp">Protocol & Go docs</a></li>
|
||||||
|
<li><a href="https://github.com/tailscale/tailscale/tree/main/cmd/derper#derp">How to run a DERP server</a></li>
|
||||||
|
</ul>
|
||||||
`)
|
`)
|
||||||
if !*runDERP {
|
if !*runDERP {
|
||||||
io.WriteString(w, `<p>Status: <b>disabled</b></p>`)
|
io.WriteString(w, `<p>Status: <b>disabled</b></p>`)
|
||||||
|
Loading…
Reference in New Issue
Block a user