Era
  • Member for 12 years, 2 months
  • Last seen more than a week ago
1 answers
0 votes
877 views
Rewrite URL to subdomain in HAProxy
0 votes

I solved it by combining reqrep and redirect like so use_backend website-blog if { path_reg \/?(.*)\/blog } backend website-blog reqrep ^([^\ :]*)\ \/?(.*)\/blog\/?(.*) \1\ /\2/\3 ...

View answer