filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

Filebrowser is Reverse Proxied with nginx and basic auth: Please allow file shares without password

Open flower1024 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. First of all thank you for this neat File Browser. It helps me a lot. I often need it when i am away from my server so i use nginx as a reverse proxy with basic auth to access it from the internet. your file-share functions works great and i would like to use it without a password. but as the share page requests assets (and the file itself) from other locations than /share i can't exclude that folder from basic_auth in nginx.

Describe the solution you'd like i would like to have a way to share files to bypass my basic_auth from my nginx reverse proxy

flower1024 avatar Jul 09 '22 19:07 flower1024

You can configure your proxy to protect the /api/* routes, this way the frontend can still be accessed but any action is protected. Allowing users to access a public share without the protection can be done by adding an exception to the /api/public/* route.

ramiresviana avatar Jul 11 '22 12:07 ramiresviana

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 31 '22 02:08 github-actions[bot]