mirror of
https://github.com/YGGverse/YGGbro.git
synced 2026-04-02 18:45:31 +00:00
refactor opennet conf
This commit is contained in:
parent
1872672f64
commit
b24b24a672
18 changed files with 46 additions and 40 deletions
9
nginx/opennet/handles/redirect.conf
Normal file
9
nginx/opennet/handles/redirect.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Prevent out redirects (solution for issue #2)
|
||||
|
||||
location @yggbro_nginx_opennet_handles_redirect {
|
||||
|
||||
set $original_uri $uri;
|
||||
set $orig_loc $upstream_http_location;
|
||||
|
||||
proxy_pass $orig_loc;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue