Pass rekt.fm as Host to upstream.
gitea/icedream/rekt-theme/master This commit looks good Details

This avoids a redirection error caused loop in the theme JavaScript.
master
Icedream 2019-03-16 02:53:37 +01:00
parent 0baeb1e891
commit c741b9e4d3
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ rewrite {
to {path} /proxy/{uri} to {path} /proxy/{uri}
} }
proxy /proxy https://rekt.fm { proxy /proxy https://rekt.fm {
header_upstream Host rekt.fm
transparent transparent
without /proxy without /proxy
} }