Jump to content

Have a certain path of the GUI not requiring password


Recommended Posts

I have proxy scripts on the Unraid server that I want to let all the household devices to use freely..

 

What I have been doing is piggy-backing on organizr docker and map its container path (e.g. map container /etc/emhttp/proxy to host /mnt/cache/proxy). That way any user on the network can point their browser / internet settings to http://192.168.1.2:89/proxy/proxy1.pac for proxy configuration i.e. no need smb / nfs etc to access public share. This works really well but it requires the array and docker to start.

 

Then I realised Unraid itself has a built-in web-server (aka the GUI) so I can have the proxy scripts on the flash drive and do a boot script to copy them to /etc/emhttp and it should work without the need to even start the array.

 

Does anyone know how to exclude a certain path of the GUI from requiring root password to access?

 

E.g. I want to exclude /etc/emhttp/proxy (which is mapped to http://192.168.1.2/proxy) so:

  • If I point to http://192.168.1.2/proxy/proxy1.pac, the file is served without asking for password.
  • If I point a browser to http://192.168.1.2/, it will ask for password since that's the Unraid GUI.

 

Thanks.

Edited by testdasi
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...