Again remove "mode http"

This commit is contained in:
Jonas L
2017-02-26 21:24:54 +01:00
committed by GitHub
parent 002275468a
commit cc0d8d9f76
-5
View File
@@ -112,17 +112,12 @@ frontend https
option httpclose option httpclose
option forwardfor option forwardfor
# HTTPS: Forward requests to the Libresonic backend # HTTPS: Forward requests to the Libresonic backend
acl is_libresonic path_beg -i /libresonic acl is_libresonic path_beg -i /libresonic
use_backend libresonic-backend if is_libresonic use_backend libresonic-backend if is_libresonic
backend libresonic-backend backend libresonic-backend
# Make sure that we are in HTTP mode so that we can rewrite headers
mode http
# Rewrite all redirects to use HTTPS, similar to what Nginx does in the # Rewrite all redirects to use HTTPS, similar to what Nginx does in the
# proxy_redirect directive. # proxy_redirect directive.
http-response replace-value Location ^http://(.*)$ https://\1 http-response replace-value Location ^http://(.*)$ https://\1