Use host instead of server_name

This commit is contained in:
Eric Nemchik 2020-01-07 13:14:57 -06:00
commit 3517c46c03
3 changed files with 4 additions and 4 deletions

View file

@ -32,5 +32,5 @@ location ~ /auth-([0-9]+) {
}
# Optional redirect server authentication errors to organizr authentication page
# NOTE: $server_name must be modified to your public URL when using subdomain proxies
#error_page 401 $scheme://$server_name/?error=$status&return=$request_uri;
# NOTE: $host must be modified to your public URL when using subdomain proxies
#error_page 401 $scheme://$host/?error=$status&return=$request_uri;