terminal:caddy
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
terminal:caddy [2024/08/18 01:55] – created melo | terminal:caddy [2024/09/06 18:08] (current) – melo | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== caddy notes ===== | ===== caddy notes ===== | ||
+ | | ||
+ | static site: | ||
+ | < | ||
+ | root * "/ | ||
+ | file_server | ||
+ | }</ | ||
+ | |||
+ | file browse | ||
+ | < | ||
+ | root * "/ | ||
+ | file_server browse | ||
+ | }</ | ||
file browse: grid default/ | file browse: grid default/ | ||
- | < | + | < |
- | file_server browse | + | |
+ | file_server browse | ||
+ | |||
+ | @directories `path(' | ||
+ | redir @directories ? | ||
+ | }</ | ||
+ | |||
+ | reverse proxy: | ||
+ | < | ||
+ | reverse_proxy 192.168.1.123: | ||
+ | }</ | ||
+ | |||
+ | reverse proxy with basic auth: | ||
+ | < | ||
+ | reverse_proxy 192.168.1.123: | ||
+ | basicauth /* { | ||
+ | username basicauth_hash | ||
+ | } | ||
- | @directories `path(' | + | }</ |
- | redir @directories ? | + | < |
terminal/caddy.1723946104.txt.gz · Last modified: 2024/08/18 01:55 by melo