Created
May 21, 2017 05:19
-
-
Save double-p/39f1ef13040b40bd70d2c6c4575e1497 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
haproxy.conf: | |
http-request redirect location %[path,lower,map(/etc/haproxy/redirects-path.map)] code 301 if { path,lower,map(/etc/haproxy/redirects-path.map) -m found } | |
redirects-path.map: | |
/help /en/help/help.html | |
/sitemap /en/sitemap.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment