proxy_redirect typo
This commit is contained in:
parent
6594dbf5a6
commit
9729bf7cff
|
@ -332,7 +332,7 @@ server {
|
||||||
|
|
||||||
# rewrite proxy request to use correct host uri from env variable (required to return correct location header)
|
# rewrite proxy request to use correct host uri from env variable (required to return correct location header)
|
||||||
set_by_lua $SKYNET_SERVER_API 'return os.getenv("SKYNET_SERVER_API")';
|
set_by_lua $SKYNET_SERVER_API 'return os.getenv("SKYNET_SERVER_API")';
|
||||||
proxy_rewrite https://siad $SKYNET_SERVER_API;
|
proxy_redirect https://siad $SKYNET_SERVER_API;
|
||||||
|
|
||||||
# proxy /skynet/tus requests to siad endpoint with all arguments
|
# proxy /skynet/tus requests to siad endpoint with all arguments
|
||||||
proxy_pass http://siad;
|
proxy_pass http://siad;
|
||||||
|
|
Reference in New Issue