mirror of https://github.com/YGGverse/YGGbro.git
ghost
1 year ago
3 changed files with 17 additions and 1 deletions
@ -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; |
||||||
|
} |
Loading…
Reference in new issue