Created
August 30, 2015 17:06
-
-
Save kenmazaika/9d17f05977e0533d99d1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| maxconn 1024 | |
| daemon | |
| nbproc 1 | |
| defaults | |
| mode http | |
| clitimeout 60000 | |
| srvtimeout 30000 | |
| contimeout 4000 | |
| option httpclose | |
| frontend public | |
| bind :8193 | |
| acl is_for_github path_reg ^$|^/$|^opensource.html|^/opensource.html|^ken_mazaika.pdf|^/ken_mazaika.pdf|^bg.png|^/bg.png|^cc.large.png|^/cc.large.png|^octocat.png|^/octocat.png|^pdf-imate.png|^/pdf-imate.png|^tumblr-logo.png|^/tumblr-logo.png | |
| use_backend github if is_for_github | |
| default_backend tumblr | |
| backend tumblr | |
| reqrep ^([^\ ]*)\ /blog(.*) \1\ /\2 | |
| server srv 72.32.231.8:80 maxconn 254 | |
| reqidel ^Host:.* | |
| reqadd Host:kenmazaika.com | |
| backend github | |
| # server srvgithub kenmazaika.github.com:80 maxconn 254 | |
| server srvgithub subtlepatterns.com:7080 maxconn 254 | |
| reqidel ^Host:.* | |
| reqadd Host:kenmazaika.github.com | |
| ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment