@ryan_harg@discuss.tchncs.de avatar

ryan_harg

@ryan_harg@discuss.tchncs.de

This profile is from a federated server and may be incomplete. Browse more on the original instance.

solarbrass, to debian Italian

How can I hide a service behind a proxy with ?
Like I have @navidrome running on standard port 4533 but I would like to Proxy it behind apache. So when I go to my website(dot)com/music I can reach it (as well with the apps so prolly websockets needs to be configured?).

I'm doing:
ProxyPass /music/ http://127.0.0.1:4533/music/
ProxyPassReverse /music/ http://127.0.0.1:4533/music/

But when i go to mywebsite(dot)com/music it goes to mywebsite(dot)com/app/

WTF?

Apache2 running on

ryan_harg,
@ryan_harg@discuss.tchncs.de avatar

just to clarify: you can access navidrome under 127.0.0.1:4533/music/? That part works?

ryan_harg, (edited )
@ryan_harg@discuss.tchncs.de avatar

but your proxy config redirects to that path. That sounds wrong, then. unless I don’t get something here. (my reverse proxy is nginx, so …)

ryan_harg,
@ryan_harg@discuss.tchncs.de avatar

i think you should loose the path on the right side.

ryan_harg,
@ryan_harg@discuss.tchncs.de avatar

well if navidrome doesn’t listen to it, then no. you can still use it on the Apache listening side: example.com/music/ redirecting to 127.0.0.1:4533 that is. Give it a try.

ryan_harg,
@ryan_harg@discuss.tchncs.de avatar

you could also see if you notice requests arriving in the navidrome logs somewhere…

ryan_harg,
@ryan_harg@discuss.tchncs.de avatar

did you succeed?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • Durango
  • thenastyranch
  • ngwrru68w68
  • InstantRegret
  • DreamBathrooms
  • modclub
  • magazineikmin
  • Youngstown
  • everett
  • ethstaker
  • slotface
  • rosin
  • anitta
  • kavyap
  • osvaldo12
  • GTA5RPClips
  • cisconetworking
  • provamag3
  • khanakhh
  • tacticalgear
  • cubers
  • Leos
  • normalnudes
  • megavids
  • tester
  • lostlight
  • All magazines