2023-11-23 19:51:48 +02:00
|
|
|
# Prevent out redirects (solution for issue #2)
|
|
|
|
|
2023-12-03 19:23:01 +02:00
|
|
|
location @yggbro_nginx_opennet_handles_redirect {
|
2023-11-23 19:51:48 +02:00
|
|
|
|
|
|
|
set $original_uri $uri;
|
|
|
|
set $orig_loc $upstream_http_location;
|
|
|
|
|
|
|
|
proxy_pass $orig_loc;
|
|
|
|
}
|