Stuff in the http block has example1 applied, stuff in the server block has example1 and example2 applied, and stuff in the location block only has proxy_redirect default; applied.
Alright, but since "proxy_redirect default" cannot be used with "proxy_pass" directive with variables, then what happens when we use variables in proxy pass and set "proxy_redirect off" (edit: when there is no proxy_redirect in parent block)?
From Nginx proxy_redirect
So:
Stuff in the http block has example1 applied, stuff in the server block has example1 and example2 applied, and stuff in the location block only has proxy_redirect default; applied.
Alright, but since "proxy_redirect default" cannot be used with "proxy_pass" directive with variables, then what happens when we use variables in proxy pass and set "proxy_redirect off" (edit: when there is no proxy_redirect in parent block)?
More replies More replies