1

My Daminion webserver runs at daminion.mydomain.com/daminion. If I omit the trailing /daminion, I land on the default IIS webserver screen.

I have NPM configured for daminion.mydomain.com on the Details tab, and on the Custom Locations tab I have the Location set to /, Scheme is http, forward host is nuc11.mydomain.com/daminion/, and port is 80.

When I attempt to navigate to the proxy host, NPM is taking me to daminion.mydomain.com/daminion/daminion (the subdirectory is appending twice). Any ideas why this is happening? I'm following the instructions listed in the comments on this page.

top 1 comments
sorted by: hot top controversial new old
[-] kY2iB3yH0mN8wI2h@alien.top 1 points 11 months ago

without seeing your Nginx.config it will not be possible to help. you can also run curl with -vv and troubleshoot. I assume you just get two re-directs that append the path based on existing path, so you are doing the re-direct twice somehow. I don't know what Daminion or NPM are.

however its possible to route traffic in nginx with location and a normal proxy_pass.

this post was submitted on 27 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
2 users here now

Rules

founded 1 year ago
MODERATORS