Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Serve Service with TLS termination #18219

Open
@JonathanEdvard

Description

@JonathanEdvard

What is the issue?

There seems to be a discrepancy between the serve set-config and the cli serve --service command.
I'm trying to serve a docker registry over Tailscale service. I've tried to get https with service config. Only able to get https with the cli command. As seen in the status, I only get "HTTPS": true with the cli command.

Steps to reproduce

$ cat config.json
{
"version": "0.0.1",
"services": {
"svc:registry": {
"endpoints": {
"tcp:443": "http://127.0.0.1:5000"
},
"advertised": true
}
}
}
$ tailscale serve status --json
{
"Services": {
"svc:registry": {
"TCP": {
"443": {
"HTTP": true
}
},
"Web": {
"registry.my-net.ts.net:443": {
"Handlers": {
"/": {
"Proxy": "http://127.0.0.1:5000"
}
}
}
}
}
}
}
$ tailscale serve reset
$ tailscale serve --bg --service=svc:registry --https=443 127.0.0.1:5000
Available within your tailnet:

https://registry.my-net.ts.net/
|-- proxyhttp://127.0.0.1:5000

Serve started and running in the background.
To disable the proxy, run: tailscale serve --service=svc:registry --https=443 off
To remove config for the service, run: tailscale serve clear svc:registry
$ tailscale serve status --json
{
"Services": {
"svc:registry": {
"TCP": {
"443": {
"HTTPS": true
}
},
"Web": {
"registry.my-net.ts.net:443": {
"Handlers": {
"/": {
"Proxy": "http://127.0.0.1:5000"
}
}
}
}
}
}
}

Are there any recent changes that introduced the issue?

No response

OS

Linux

OS version

ubuntu server minimal 22.04.3

Tailscale version

1.92.1

Other software

No response

Bug report

BUG-0ed4d40d24199dbe698b410c34bed6a0d16d2b38517d3263ff68147053cd727c-20251216121624Z-017a49889af2122b

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp