proxy_redirect typo

This commit is contained in:
Karol Wypchło 2021-06-16 16:39:25 +02:00 committed by Karol Wypchlo
parent 6594dbf5a6
commit 9729bf7cff
1 changed files with 1 additions and 1 deletions

View File

@ -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;