Browse Source

new: [apache] don't force ``X-Forwarded-Proto`` if already existent

odoo_fix_webhook_url
Valentin Lab 1 year ago
parent
commit
cc036b94d9
  1. 3
      apache/lib/common

3
apache/lib/common

@ -720,7 +720,8 @@ $(__vhost_creds_statement "$cfg" "$dest" | prefix " ")
$([ "$protocol" == "https" ] && echo " SSLProxyEngine On")
</IfModule>
RequestHeader set "X-Forwarded-Proto" "$protocol"
SetEnvIf X-Forwarded-Proto "^$" forwarded_proto_not_set=true
RequestHeader set "X-Forwarded-Proto" "$protocol" env=forwarded_proto_not_set
## Fix IE problem (httpapache proxy dav error 408/409)
SetEnv proxy-nokeepalive 1

Loading…
Cancel
Save