Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:filebrowser [2024/09/03 08:58] – willy | services:filebrowser [2025/01/21 11:50] (current) – [Running] willy | ||
---|---|---|---|
Line 20: | Line 20: | ||
That's it! | That's it! | ||
+ | |||
+ | In addition you might want to create the following **.bashrc**: | ||
+ | <file - .bashrc> | ||
+ | #!/bin/bash | ||
+ | |||
+ | export UMASK=0002 | ||
+ | export PATH=$PATH: | ||
+ | </ | ||
==== Authentication ==== | ==== Authentication ==== | ||
Line 25: | Line 33: | ||
<code bash> | <code bash> | ||
filebrowser config set --auth.method=noauth | filebrowser config set --auth.method=noauth | ||
+ | filebrowser config set --auth.method=proxy --auth.header=X-My-Header | ||
</ | </ | ||
+ | |||
+ | TBD | ||
==== Reverse Proxy ==== | ==== Reverse Proxy ==== | ||
Line 82: | Line 93: | ||
command_background=true | command_background=true | ||
command="/ | command="/ | ||
- | command_args=" | + | command_args=" |
command_user=" | command_user=" | ||
start_pre() { | start_pre() { | ||
- | test -e " | + | |
- | test -e " | + | then |
- | mkdir " | + | |
- | } && chown -R ${FB_USER} " | + | test -e " |
+ | mkdir " | ||
+ | } && chown -R ${FB_USER} " | ||
+ | else | ||
+ | ebegin " | ||
+ | eend 255 | ||
+ | fi | ||
} | } | ||
</ | </ |