You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those URLs don't have the /streaming/ prefix and therefore are not handled by the correct handler and run into my general handler instead which can't serve them (and asks for basic auth instead, because that's what happens in that handler).
The fonts in the CSS should be prefixed with the correct proxy-prefix to load correctly with the proxy.
The text was updated successfully, but these errors were encountered:
991jo
changed the title
URL for fonts in css does not have the proxy url prefix
URL for fonts in CSS does not have the proxy url prefix
Oct 14, 2024
991jo
changed the title
URL for fonts in CSS does not have the proxy url prefix
URL for fonts in CSS does not have the proxy-prefix
Oct 14, 2024
It also looks like the static fonts are not served under the proxy-prefix. They are served directly under /admin/static/inconsolata-v31-latin-600.woff2, however other static items get the prefix correctly, e.g. the header image is served from streaming/admin/static/gonic.png as it should.
I build a workaround with my proxy, extending the config a bit:
gonic version: v0.16.4
I am running gonic behind a proxy with the proxy-prefix set to
My proxy is caddy with the following config
When I am accessing gonic in example.com/streaming/ then the CSS at
https://example.com/streaming/admin/static/style.css?v=0.16.4
contains the fonts as shown in https://github.com/sentriz/gonic/blob/master/server/ctrladmin/adminui/style.cssThose URLs don't have the
/streaming/
prefix and therefore are not handled by the correct handler and run into my general handler instead which can't serve them (and asks for basic auth instead, because that's what happens in that handler).The fonts in the CSS should be prefixed with the correct proxy-prefix to load correctly with the proxy.
The text was updated successfully, but these errors were encountered: