Created
October 20, 2013 07:05
-
-
Save blissdev/7065863 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
#daemon | |
maxconn 256 | |
defaults | |
mode http | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms | |
frontend http-in | |
bind :80 | |
mode http | |
option forwardfor #forward client's ip | |
acl use:stumptheband path_beg /sso | |
acl use:noser path_beg /account | |
use_backend stumptheband if use:stumptheband | |
use_backend noser if use:noser | |
default_backend middleman | |
backend noser | |
reqadd X-Forwarded-Proto:\ https | |
option http-server-close | |
server noser 127.0.0.1:3010 | |
backend stumptheband | |
reqadd X-Forwarded-Proto:\ https | |
server stumptheband 127.0.0.1:8080 | |
backend middleman | |
reqadd X-Forwarded-Proto:\ https | |
server middleman 127.0.0.1:8070 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment