Skip to content

Commit

Permalink
Aleksei/terra url change (#146)
Browse files Browse the repository at this point in the history
* terra url changed

* change soju-0010 to soju-0012

* cors added to caddyfiles

* cors added to caddyfiles
  • Loading branch information
iambeone authored and faboweb committed Nov 28, 2019
1 parent b7388ec commit ca22098
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Caddyfile
Original file line number Diff line number Diff line change
@@ -1,9 +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
}
}
2 changes: 2 additions & 0 deletions Caddyfile.prod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
production-api.lunie.io {
proxy / lunieapi:4000 {
transparent
header_downstream Access-Control-Allow-Origin "*"
websocket
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
"nodemon": "^1.19.4",
"prettier": "^1.19.1"
}
}
}

0 comments on commit ca22098

Please sign in to comment.