From 835bbbc0a5aba5d2ee2ef91f5a1d9f3b678955fc Mon Sep 17 00:00:00 2001 From: drinn Date: Sun, 26 Mar 2017 17:44:42 -0500 Subject: [PATCH] Add X-Headers for haproxy Added X-Headers for haproxy configuration --- documentation/PROXY.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/documentation/PROXY.md b/documentation/PROXY.md index 23045170..413b3c4c 100644 --- a/documentation/PROXY.md +++ b/documentation/PROXY.md @@ -130,6 +130,11 @@ frontend https # Listen on the HTTPS and HTTP ports bind :80 bind :443 ssl crt /etc/haproxy/certs/cert_key.pem + + # Add X-Headers necessary for HTTPS + # Replace frontend.example.com with your SSL host and include :[port] if not running on port 443 + reqadd X-Forwarded-Host:\ frontend.example.com + reqadd X-Forwarded-Proto:\ https # Bind URL with the right backend acl is_libresonic path_beg -i /libresonic