Skip to content

Commit

Permalink
Untested attempt to fix #50
Browse files Browse the repository at this point in the history
 As @foosel suggested in it
http-request add-header X-Scheme https if { ssl_fc }
  • Loading branch information
guysoft committed Nov 20, 2014
1 parent e0ace97 commit f68b985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/root/etc/haproxy/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ frontend public

backend octoprint
reqrep ^([^\ :]*)\ /(.*) \1\ /\2
reqadd X-Scheme:\ https if is-ssl
http-request add-header X-Scheme https if { ssl_fc }
server octoprint1 127.0.0.1:5000

backend webcam
Expand Down

0 comments on commit f68b985

Please sign in to comment.