prevent out redirects #2

This commit is contained in:
ghost 2023-11-23 19:51:48 +02:00
parent fa7df7d69c
commit b48f39da4c
3 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,9 @@
# Prevent out redirects (solution for issue #2)
location @opennet_locations_handle_redirect {
set $original_uri $uri;
set $orig_loc $upstream_http_location;
proxy_pass $orig_loc;
}