zoneminder-containers / zoneminder-base

An always up-to-date automatically building ZoneMinder container
101 stars 32 forks source link

Add /zm path rewrite to nginx #32

Open r-rainey opened 2 years ago

r-rainey commented 2 years ago

Add the path for /zm as a rewrite to / (some third party programs need the path to start at /zm)

joopdo commented 1 year ago

Thank you. I needed this to get camera working in Home Assistant.

mjschrod commented 1 year ago

Thank you also from me!

Do I see it right, that this doesen't influence the API access? I am trying to connect from FHEM. Here FHEM always uses: http://IP:PORT/zm/api/host/login.json Unfortunately the url could not be found.

Can you also provide a patch for /zm/api/host/login.json ?