Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: update caddy config example & guide#13964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
matifali merged 4 commits intocoder:mainfromnanospearing:patch-1
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletionsexamples/web-server/caddy/Caddyfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
{
on_demand_tls {
ask http://example.com
}
}

coder.example.com, *.coder.example.com {
reverse_proxy localhost:3000
tls {
Expand Down
13 changes: 7 additions & 6 deletionsexamples/web-server/caddy/README.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,6 +50,7 @@ This is an example configuration of how to use Coder with [caddy](https://caddys
- `coder.example.com`: Domain name you're using for Coder.
- `*.coder.example.com`: Domain name for wildcard apps, commonly used for [dashboard port forwarding](https://coder.com/docs/coder-oss/latest/networking/port-forwarding#dashboard). This is optional and can be removed.
- `localhost:3000`: Address Coder is running on. Modify this if you changed `CODER_HTTP_ADDRESS` in the Coder configuration.
- _DO NOT CHANGE the `ask http://example.com` line! Doing so will result in your certs potentially not being generated._

4. [Configure Coder](https://coder.com/docs/coder-oss/latest/admin/configure) and change the following values:

Expand DownExpand Up@@ -111,9 +112,9 @@ For production deployments, we recommend configuring Caddy to generate a wildcar
```diff
tls {
- on_demand
issuer acme {
email email@example.com
}
- issuer acme {
- email email@example.com
- }

+ dns route53 {
+ max_retries 10
Expand All@@ -137,9 +138,9 @@ For production deployments, we recommend configuring Caddy to generate a wildcar
```diff
tls {
- on_demand
issuer acme {
email email@example.com
}
- issuer acme {
- email email@example.com
- }

+ dns cloudflare CLOUDFLARE_API_TOKEN
}
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp