Doc: Add warning about HAProxy 1.7

master
François-Xavier Thomas 8 years ago
parent fedcddc060
commit 4efa7ccbf6
No known key found for this signature in database
GPG Key ID: 64337406D2DD45CE
  1. 6
      documentation/PROXY.md

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

Loading…
Cancel
Save