Problems serving under path with tailscale serve
#214
Replies: 1 comment
-
|
OK I figured it out, I had to do two things:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run yarr behind
tailscale serve.It works well if I serve it at the root (e.g.
machine.pango-lin.ts.net), but if I runtailscale serve --set-path foo 7070(i.e try tro serve it atmachine.pango-lin.ts.net/foo, then this happens:(same for all other JS and CSS files).
Looking at the response headers, the difference between running at
/vs at/foois, that for the latter, the content type is wrong, and a new header is added:content-type text/plain; charset=utf-8x-content-type-options nosniff.Any idea where this behavior is coming from?
The version I'm running is the latest stable, v2.4.
Beta Was this translation helpful? Give feedback.
All reactions