Welcome! Log In Create A New Profile

Advanced

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

Posted by swepy 
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`
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready