Created
November 23, 2022 06:24
-
-
Save gphg/980e00db6776b386c41ea3a92b96aa63 to your computer and use it in GitHub Desktop.
Dead-simple Caddy server config file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:8080 | |
# Points root onto remote's current working directory (as `caddy run` executed) | |
root * {os.Getwd} | |
# WebDAV access, requires custom Caddy build. | |
#@notget not method GET | |
#route @notget { | |
# webdav | |
#} | |
file_server browse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment