diff options
author | Antoni Sawicki <tenox@google.com> | 2022-05-08 17:13:02 -0700 |
---|---|---|
committer | Antoni Sawicki <tenox@google.com> | 2022-05-08 17:13:02 -0700 |
commit | 584ea0a2da55085767eac14639a091eaf75bcd19 (patch) | |
tree | b9aba9dd93412fdb5fee73f0f1dbb3127bbc231c | |
parent | 63bbe7e562212b6663f7c1575d6c2e44dcffabba (diff) | |
download | wfm-584ea0a2da55085767eac14639a091eaf75bcd19.tar.gz |
update todo
-rw-r--r-- | TODO.md | 2 | ||||
-rw-r--r-- | wfm.go | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ * FastCGI Interface * Docker support - requires sub folder off root * Web folder with no index, on a separate port? +* Use custom FS implementation to resolve and deny symlinks outside of srv directory +https://github.com/crazcalm/go/commit/8b0b644cd02c59fe2461908304c44d64e8be431e ## Security * userless/guest read-only mode, user rw @@ -34,7 +34,7 @@ var ( aboutRnt = flag.Bool("about_runtime", true, "Display runtime info in About Dialog") showDot = flag.Bool("show_dot", false, "show dot files and folders") wfmPfx = flag.String("prefix", "/", "Default prefix for WFM access") - docSrv = flag.String("doc_srv", "", "Serve regular http files, fsdir:prefix, eg /var/www:/home") + docSrv = flag.String("doc_srv", "", "Serve regular http files, fsdir:prefix, eg /var/www/:/home/") cacheCtl = flag.String("cache_ctl", "no-cache", "HTTP Header Cache Control") acmDir = flag.String("acm_dir", "", "autocert cache, eg: /var/cache (inside chroot)") acmBind = flag.String("acm_addr", "", "autocert manager listen address, eg: :80") |