Add support for proxy cookie path/proxy cookie domain

This commit is contained in:
Giancarlo Rubio 2016-12-27 10:52:04 +01:00
parent 96b1158a5b
commit 704a18cec9
5 changed files with 46 additions and 6 deletions

View file

@ -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 "";