Add support for proxy cookie path/proxy cookie domain
This commit is contained in:
parent
96b1158a5b
commit
704a18cec9
5 changed files with 46 additions and 6 deletions
|
|
@ -326,6 +326,9 @@ http {
|
|||
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_cookie_domain {{ $location.Proxy.CookiePath }};
|
||||
proxy_cookie_path {{ $location.Proxy.CookieDomain }};
|
||||
|
||||
{{/* rewrite only works if the content is not compressed */}}
|
||||
{{ if $location.Redirect.AddBaseURL }}
|
||||
proxy_set_header Accept-Encoding "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue