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:58] – melo | terminal:caddy [2024/09/06 18:08] (current) – melo | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== caddy notes ===== | ===== caddy notes ===== | ||
| | ||
- | file browse: | + | static site: |
< | < | ||
root * "/ | root * "/ | ||
file_server | file_server | ||
+ | }</ | ||
+ | |||
+ | file browse | ||
+ | < | ||
+ | root * "/ | ||
+ | file_server browse | ||
}</ | }</ | ||
Line 20: | 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.1723946298.txt.gz · Last modified: 2024/08/18 01:58 by melo