-
Notifications
You must be signed in to change notification settings - Fork 4
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
ed135d6
commit af23667
Showing
28 changed files
with
1,496 additions
and
1,574 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,21 +1,28 @@ | ||
:80 { | ||
log { | ||
output stderr | ||
} | ||
file_server browse | ||
root * hyperedge | ||
:8081 { | ||
log { | ||
output stderr | ||
} | ||
file_server browse | ||
root * edgeproxy/static | ||
|
||
# handle /artists { | ||
# method POST | ||
# request_body { | ||
# replace `{"query": "select artists {*}"}` | ||
# } | ||
# request_header Content-Type application/json | ||
# rewrite * /db/edgedb/edgeql | ||
# reverse_proxy http://localhost:10701 | ||
# } | ||
handle /artists { | ||
method POST | ||
request_body { | ||
replace `{"query": "select artists {*}"}` | ||
} | ||
request_header Content-Type application/json | ||
# header_up Host {upstream_hostport} | ||
rewrite * /db/edgedb/edgeql | ||
reverse_proxy https://localhost:5656 { | ||
header_up Host {upstream_hostport} | ||
transport http { | ||
tls | ||
tls_insecure_skip_verify | ||
} | ||
} | ||
} | ||
|
||
handle /artists { | ||
reverse_proxy http://localhost:8081 | ||
} | ||
# handle /artists { | ||
# reverse_proxy http://localhost:8081 | ||
# } | ||
} |
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
Oops, something went wrong.