Open mybigman opened 5 years ago
mos.yml doesn't use http.auth_file if preceded with a dot.
http.auth_file
fails
config_schema: - ["http.auth_domain", "ADMIN"] - ["http.auth_file", ".htpasswd"]
works
config_schema: - ["http.auth_domain", "ADMIN"] - ["http.auth_file", "htpasswd"]
if you use the .htpasswd by manually doing mos put then it works.
mos put
Using the htpasswd without the dot exposes the file to be read unless you also include it in the http.hidden_files config.
htpasswd
http.hidden_files
mos.yml doesn't use
http.auth_file
if preceded with a dot.fails
works
if you use the .htpasswd by manually doing
mos put
then it works.Using the
htpasswd
without the dot exposes the file to be read unless you also include it in thehttp.hidden_files
config.