terminal:caddy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
terminal:caddy [2024/08/18 01:56] – 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/ | ||
Line 14: | Line 26: | ||
reverse_proxy 192.168.1.123: | reverse_proxy 192.168.1.123: | ||
}</ | }</ | ||
+ | |||
+ | reverse proxy with basic auth: | ||
+ | < | ||
+ | reverse_proxy 192.168.1.123: | ||
+ | basicauth /* { | ||
+ | username basicauth_hash | ||
+ | } | ||
+ | |||
+ | }</ | ||
+ | < |
terminal/caddy.1723946217.txt.gz · Last modified: 2024/08/18 01:56 by melo