-
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
2f92038
commit 536d793
Showing
2 changed files
with
91 additions
and
74 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,90 +1,105 @@ | ||
# Caddy config file to expose all required grid services | ||
tfchain.bknd1.dev.ava.tf { | ||
reverse_proxy tfchain-public-node:9944 | ||
reverse_proxy /* tfchain-public-node:9615 { | ||
header_up Host {upstream_hostport} | ||
} | ||
metrics /metrics | ||
log { | ||
output file /var/log/caddy/caddy_access_tfchain.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
tfchain.{$DOMAIN} { | ||
reverse_proxy tfchain-public-node:9944 { | ||
# reverse_proxy /* tfchain-public-node:9615 { | ||
header_up Host {upstream_hostport} | ||
} | ||
metrics /metrics | ||
log { | ||
output file /var/log/caddy/caddy_access_tfchain.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
graphql.bknd1.dev.ava.tf { | ||
reverse_proxy processor_query_node:4000 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_graphql.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
graphql.{$DOMAIN} { | ||
reverse_proxy processor_query_node:4000 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_graphql.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
relay.bknd1.dev.ava.tf { | ||
reverse_proxy grid_relay:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_grid_relay.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
relay.{$DOMAIN} { | ||
reverse_proxy grid_relay:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_grid_relay.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
gridproxy.bknd1.dev.ava.tf { | ||
reverse_proxy grid_proxy:443 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_gridproxy.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
gridproxy.{$DOMAIN} { | ||
reverse_proxy grid_proxy:443 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_gridproxy.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
activation.bknd1.dev.ava.tf { | ||
reverse_proxy grid_activation_service:3000 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_activation.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
activation.{$DOMAIN} { | ||
reverse_proxy grid_activation_service:3000 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_activation.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
dashboard.bknd1.dev.ava.tf { | ||
reverse_proxy grid_dashboard:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_dashboard.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
dashboard.{$DOMAIN} { | ||
reverse_proxy grid_dashboard:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_dashboard.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
play.bknd1.dev.ava.tf { | ||
reverse_proxy grid_weblets:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_play.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
play.{$DOMAIN} { | ||
reverse_proxy grid_weblets:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_play.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
stats.bknd1.dev.ava.tf { | ||
reverse_proxy grid_stats:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_stats.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
stats.{$DOMAIN} { | ||
reverse_proxy grid_stats:80 { | ||
header_up Host {upstream_hostport} | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_stats.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} | ||
|
||
metrics.{$DOMAIN} { | ||
# handle_path /* { | ||
# rewrite * /metrics{uri} | ||
# reverse_proxy tfchain-public-node:9615 | ||
# } | ||
handle { | ||
reverse_proxy tfchain-public-node:9615 | ||
} | ||
log { | ||
output file /var/log/caddy/caddy_access_metrics.log | ||
format json | ||
} | ||
tls info@threefold.tech | ||
} |
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