Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.92 KB

filebrowser-config-set.md

File metadata and controls

59 lines (50 loc) · 1.92 KB
description
Updates the configuration

filebrowser config set

Synopsis

Updates the configuration. Set the flags for the options you want to change. Other options will remain unchanged.

filebrowser config set [flags]

Options

Name Shorthand Usage
address a address to listen on
auth.header HTTP header for auth.method=proxy
auth.method authentication type
baseurl b base url
branding.disableExternal disable external links such as GitHub links
branding.files path to directory with images and custom styles
branding.name replace 'File Browser' by this name
cert t tls certificate
commands a comma-separated list of the commands a user can execute
help h help for set
key k tls key
locale locale for users
lockPassword lock password
log l log output
perm.admin admin perm for users
perm.create create perm for users
perm.delete delete perm for users
perm.download download perm for users
perm.execute execute perm for users
perm.modify modify perm for users
perm.rename rename perm for users
perm.share share perm for users
port p port to listen on
recaptcha.host use another host for ReCAPTCHA. recaptcha.net might be useful in China
recaptcha.key ReCaptcha site key
recaptcha.secret ReCaptcha secret
root r root to prepend to relative paths
scope scope for users
shell shell command to which other commands should be appended
signup s allow users to signup
sorting.asc sorting by ascending order
sorting.by sorting mode (name, size or modified)
viewMode view mode for users

Inherited

Name Shorthand Usage
config c config file path
database d database path