96 Commits (1b1e625c201bdc2570dded6164e212f3abda902c)

Author SHA1 Message Date
diamondburned 9e16e80f3c
fileserver: Fix browse name_dir_first sorting (#4218) 4 years ago
mritd 4245ceb67d
fileserver: Add `disable_canonical_uris` Caddyfile subdirective (#4222) 4 years ago
Matthew Holt 191dc86f9e
fileserver: Clarify docs about canonicalization 4 years ago
Matt Holt 9d4ed3a323
caddyhttp: Refactor and export SanitizedPathJoin for use in fastcgi (#4207) 4 years ago
Matthew Holt fbd6560976
fileserver: Only redirect if filename not rewritten (fix #4205) 4 years ago
Matthew Holt e8ae80adca
fileserver: Don't persist parsed template (fix #4202) 4 years ago
Matthew Holt 8848df9c5d
Revert "fileserver: Redirect within the original URL (#4179)" 4 years ago
diamondburned 76913b19ff
fileserver: Fix browse not redirecting query parameters (#4196) 4 years ago
diamondburned f9b54454a1
fileserver: Redirect within the original URL (#4179) 4 years ago
Francis Lavoie 74f5d66c48
fileserver: Fix `file` matcher with empty `try_files` (#4147) 4 years ago
Jason Du 637fd8f67b
fileserver: Share template logic for both `templates` and `file_server browse` (#4093) 4 years ago
Francis Lavoie 3a1e81dbf6
fileserver: Better handling of HTTP status override (#4132) 4 years ago
Francis Lavoie 3f6283b385
fileserver: Add status code override (#4076) 4 years ago
Steffen Brüheim f35a7fa466
encode,staticfiles: Content negotiation, precompressed files (#4045) 4 years ago
Francis Lavoie 0018b9be0d
fileserver: Add a few more debug lines (#4063) 4 years ago
rai a48c6205b7
fileserver: Browse listing supports dark mode (#4066) 4 years ago
Matthew Holt 5bf0a55df4
fileserver: Don't replace in request paths (fix #4027) 4 years ago
Matthew Holt d8bcf5be4e
fileserver: Fix "go up" links in browse listings (closes #3942) 4 years ago
Francis Lavoie 6e9ac248dd
fastcgi: Set PATH_INFO to file matcher remainder as fallback (#3739) 4 years ago
Matthew Holt 7d7434c9ce
fileserver: Add debug logging 4 years ago
Matthew Holt 0a7721dcfe
fileserver: Preserve transformed root (fix #3838) 4 years ago
Dave Henderson bd17eb205d
ci: Use golangci's github action for linting (#3794) 4 years ago
Matt Holt 8d038ca515
fileserver: Improve and clarify file hiding logic (#3844) 4 years ago
Francis Lavoie b95b87381a
fileserver: Fix try_files for directories; windows fix (#3684) 4 years ago
Matt Holt 1c5969b576
fileserver: Fix new file hide tests on Windows (#3719) 4 years ago
Matthew Holt 0ee4378227
fileserver: Improve file hiding logic for directories and prefixes 4 years ago
Mohammed Al Sahaf d4f249741e
browse: align template to struct field renames from 4940325 (#3706) 4 years ago
Matthew Holt 4940325844
fileserver: Fix inconsistencies in browse JSON 4 years ago
Matt Holt c054a818a1
fileserver: Fix newly-introduced failing test on Linux (#3625) 5 years ago
Matthew Holt 3860b235d0
fileserver: Don't assume len(str) == len(ToLower(str)) (fix #3623) 5 years ago
snu-ceyda 735c86658d
fileserver: Enable browse pagination with offset parameter (#3542) 5 years ago
Rui Lopes aa20878887
cmd: file-server: add --access-log flag (#3454) 5 years ago
Francis Lavoie bb67e19d7b
cmd: hash-password: Fix broken terminal state on SIGINT (#3416) 5 years ago
Matt Holt 1e8c9764df
file_server: Accept files args in one-liner of Caddyfile matcher (#3298) 5 years ago
Francis Lavoie 5ae1a5617c
caddyhttp: Add split_path to file matcher (used by php_fastcgi) (#3302) 5 years ago
Matthew Holt 999ab22b8c
caddyhttp: Add nil check (fixes #3248 and fixes #3250) 5 years ago
Mohammed Al Sahaf 7dfd69cdc5
chore: make the linter happier (#3245) 5 years ago
Matthew Holt 673d3d00f2
file_server: Fix dumb error check I must have written at 1am 5 years ago
Matthew Holt 2ce3deb540
fileserver: Add --templates flag to file-server command 5 years ago
Matthew Holt 6cbd93736f
Minor tweaks 5 years ago
Matt Holt 5a19db5dc2
v2: Implement 'pki' app powered by Smallstep for localhost certificates (#3125) 5 years ago
Matthew Holt b8cba62643 Refactor for CertMagic v0.10; prepare for PKI app 5 years ago
Success Go ca5c679880
Fix typos (#3087) 5 years ago
Jeremy Lin 98bbc54fdc
browse: allow filter init via `filter` query param (#3027) 5 years ago
Matthew Holt d810637a9f
httpcaddyfile: Update directive docs; put root after rewrite 5 years ago
Matthew Holt 2466ed1484
httpcaddyfile: Group try_files routes together (#2891) 5 years ago
Matthew Holt 25dea2903e
http: A little more polish on rewrite handler and try_files directive 5 years ago
Matthew Holt 590480513a
Update docs for couple of Caddyfile directives 5 years ago
Matt Holt a5ebec0041
http: Change routes to sequential matcher evaluation (#2967) 5 years ago
Matthew Holt 788462bd4c
file-server command: Use safer defaults; http: improve host matcher docs 5 years ago