forked from sljeff/caddy-tlsredis-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b37b7a
commit 4693520
Showing
2 changed files
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
{ | ||
storage s3 { | ||
} | ||
storage s3 { | ||
} | ||
|
||
on_demand_tls { | ||
ask http://xlog-caddy-validator/ | ||
} | ||
on_demand_tls { | ||
ask http://xlog-caddy-validator/ | ||
} | ||
} | ||
|
||
{$XLOG_DOMAIN}, *.{$XLOG_DOMAIN} { | ||
tls devops@rss3.io { | ||
dns cloudflare {env.CF_API_TOKEN} | ||
} | ||
|
||
reverse_proxy xlog-internal.crossbell.svc { | ||
header_up x-forwarded-proto http | ||
header_up X-Real-IP {remote_host} | ||
header_up X-Forwarded-For {remote_host} | ||
} | ||
tls devops@rss3.io { | ||
dns cloudflare {env.CF_API_TOKEN} | ||
} | ||
|
||
tracing { | ||
span {host}{uri} | ||
} | ||
|
||
reverse_proxy xlog-internal.crossbell.svc { | ||
header_up x-forwarded-proto http | ||
header_up X-Real-IP {remote_host} | ||
header_up X-Forwarded-For {remote_host} | ||
} | ||
} | ||
|
||
:8080 { | ||
metrics | ||
metrics | ||
} | ||
|
||
:80, :443 { | ||
tls jeff@rss3.io { | ||
on_demand | ||
} | ||
|
||
reverse_proxy xlog-internal.crossbell.svc { | ||
header_up x-forwarded-proto http | ||
header_up X-Real-IP {remote_host} | ||
header_up X-Forwarded-For {remote_host} | ||
} | ||
} | ||
tls jeff@rss3.io { | ||
on_demand | ||
} | ||
|
||
tracing { | ||
span {host}{uri} | ||
} | ||
|
||
reverse_proxy xlog-internal.crossbell.svc { | ||
header_up x-forwarded-proto http | ||
header_up X-Real-IP {remote_host} | ||
header_up X-Forwarded-For {remote_host} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters