Welcome! Log In Create A New Profile

Advanced

How to make redirect to a link that i get from auth_request

Posted by swepy 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
How to make redirect to a link that i get from auth_request
December 01, 2023 05:16AM
I want to redirect client to the url i get from /auth_download.
But I cant figure out how to do it

my config looks like this:

location /download {
auth_request /auth_download;
auth_request_set $downloadRout $sent_http_storageUrl;
proxy_redirect $downloadRout;
}
Re: How to make redirect to a link that i get from auth_request
December 01, 2023 08:37AM
try using `rewrite`

Online Users

Guests: 98
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready