Skip to content

Commit

Permalink
fixing node_exporter call in Caddyfile (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
iambeone authored Mar 10, 2020
1 parent 974808e commit 89a7f0f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions Caddyfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
staging-api.lunie.io {
proxy / lunieapi:4000 {
transparent
header_downstream Access-Control-Allow-Origin "*"
websocket
}
}
:9100 {
basicauth / admin lunie1234
proxy / node_exporter:9100
staging-api.lunie.io {
proxy / lunieapi:4000 {
transparent
header_downstream Access-Control-Allow-Origin "*"
websocket
}
}
:9100 {
basicauth / admin lunie1234
proxy / lunieapi_node-exporter:9100
}
22 changes: 11 additions & 11 deletions Caddyfile.prod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
production-api.lunie.io {
proxy / lunieapi:4000 {
transparent
header_downstream Access-Control-Allow-Origin "*"
websocket
}
}
:9100 {
basicauth / admin lunie1234
proxy / node_exporter:9100
}
production-api.lunie.io {
proxy / lunieapi:4000 {
transparent
header_downstream Access-Control-Allow-Origin "*"
websocket
}
}
:9100 {
basicauth / admin lunie1234
proxy / lunieapi_node-exporter:9100
}

0 comments on commit 89a7f0f

Please sign in to comment.