Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Wishlist: Add "webroot" option #3

Open
peterdey opened this issue Nov 19, 2013 · 2 comments
Open

Wishlist: Add "webroot" option #3

peterdey opened this issue Nov 19, 2013 · 2 comments

Comments

@peterdey
Copy link

I have zfswatcher's web service listening on 127.0.0.1:28372, with Apache mod_proxy catching at http://server/zfswatcher and sending requests through to the zfswatcher service. This is primarily for security (SSL, etc).

At the moment, the only way to achieve this is by editing the templates in /usr/share/zfswatcher/www/templates; and prefixing "/zfs" to all the URLs. While this works fine for my, I figured others might be doing something similar.

It would be great if we could have an option in zfswatcher.conf, perhaps called something like "webroot", which specifies the prefix/directory the web service should use.

@hhallman
Copy link

I'm using oauth2_proxy, putting me in the same situation.
+1

@timoid
Copy link

timoid commented Mar 27, 2017

I have made a patch - if some people would like to test please let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants