Created
July 27, 2017 09:11
-
-
Save double-p/7410ce8ce5e1389586fd0855e59dea39 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)]%HQ code 301 if { path,lower,map(/etc/haproxy/redirects-path.map) -m found } | |
redirects-path.map: | |
/ /en/home/index.html | |
/en /en/home/index.html | |
/en/ /en/home/index.html | |
#and so on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment