Doc: Add warning about HAProxy 1.7

This commit is contained in:
François-Xavier Thomas
2017-02-03 00:27:36 +01:00
parent fedcddc060
commit 4efa7ccbf6
+3 -3
View File
@@ -98,7 +98,8 @@ The following configuration works for Apache (without HTTPS):
### HAProxy
The following configuration works for HAProxy (HTTPS with HTTP redirection):
The following configuration works for HAProxy 1.7 (HTTPS with HTTP
redirection):
```haproxy
frontend https
@@ -115,8 +116,7 @@ frontend https
option forwardfor
# HTTP: Redirect insecure requests to HTTPS
acl http ssl_fc,not
http-request redirect scheme https if http
http-request redirect scheme https if !{ ssl_fc }
# HTTPS: Forward requests to the Libresonic backend
acl is_libresonic path_beg -i /libresonic