Skip to content

Commit

Permalink
Fix for #50. Using Ginas' fix that is documented to work
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Dec 31, 2014
1 parent 641e352 commit 45fe5f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/filesystem/root/etc/haproxy/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ frontend public
default_backend octoprint

backend octoprint
reqrep ^([^\ :]*)\ /(.*) \1\ /\2
reqrep ^([^\ :]*)\ /(.*) \^\ /\2
reqadd X-Scheme:\ https if { ssl_fc }
option forwardfor
server octoprint1 127.0.0.1:5000

backend webcam
reqrep ^([^\ :]*)\ /webcam/(.*) \1\ /\2
server webcam1 127.0.0.1:8080
server webcam1 127.0.0.1:8080

0 comments on commit 45fe5f0

Please sign in to comment.