This shows you the differences between two versions of the page.
caddy [2024/04/01 18:12] – created melo | caddy [2024/04/01 18:21] (current) – melo | ||
---|---|---|---|
Line 8: | Line 8: | ||
* **caddy** - basic but powerful web server software. [[https:// | * **caddy** - basic but powerful web server software. [[https:// | ||
* **html knowledge** - css knowledge optional | * **html knowledge** - css knowledge optional | ||
- | | + | |
+ | |||
+ | ===== caddy usage ===== | ||
+ | |||
+ | the caddyfile is where everything that configures your server will live. it's extremely easy to use but official caddy docs are confusing about it so i'll try to simplify. | ||
+ | |||
+ | the file is in different locations depending on your OS. for linux, that location is /// | ||
+ | |||
+ | < | ||
+ | |||
+ | caddy should detect the caddyfile now. time to edit it! | ||
+ | |||
+ | so the syntax goes like this: | ||
+ | |||
+ | < | ||
+ | root * / | ||
+ | file_server | ||
+ | }</ |
This theme is made by desbest and Jessica Russell Flint