This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
esxi:caddy_server [2024/07/29 20:51] derek |
esxi:caddy_server [2025/12/25 09:41] (current) derek |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| * '' | * '' | ||
| * Add a ' | * Add a ' | ||
| + | * If not using a wildcard CNAME record, add a CNAME record for the desired subdomain as above | ||
| * '' | * '' | ||
| * '' | * '' | ||
| Line 54: | Line 55: | ||
| curl -L -o " | curl -L -o " | ||
| chmod 755 caddy | chmod 755 caddy | ||
| - | |||
| - | |||
| - | |||
| # Config file and html pages | # Config file and html pages | ||
| Line 76: | Line 74: | ||
| # Get a DNS API token from https:// | # Get a DNS API token from https:// | ||
| - | # Edit zone DNS > Use template: | ||
| - | # | ||
| - | # | ||
| - | # | ||
| # Edit zone DNS > Use template: | # Edit zone DNS > Use template: | ||
| # | # | ||
| + | # Add a Permissions entry for: Zone.Zone: | ||
| # | # | ||
| # | # | ||
| Line 93: | Line 88: | ||
| # Paste in the following lines with their respective keys filled in: | # Paste in the following lines with their respective keys filled in: | ||
| [Service] | [Service] | ||
| - | Environment=" | ||
| Environment=" | Environment=" | ||
| Environment=" | Environment=" | ||
| Line 117: | Line 111: | ||
| systemctl reload caddy | systemctl reload caddy | ||
| </ | </ | ||
| + | |||
| + | Edit the Caddyfile at [[https:// | ||
| + | |||
| + | Services that require setting Trusted Proxies: | ||
| + | * [[esxi: | ||
| + | * [[home:Home Assistant]] | ||
| + | * [[esxi:AMP Game Server]] | ||
| @No_Backup | @No_Backup | ||
| Line 130: | Line 131: | ||
| # Update Caddy | # Update Caddy | ||
| caddy update | caddy update | ||
| + | chmod 755 / | ||
| systemctl reload caddy | systemctl reload caddy | ||