You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
454 B
454 B
make haproxy conf
<frontend>
# Send to gitea if location /gitea/
http-request redirect location /git/ if { path /git }
use_backend gitea if { path_beg /git/ }
backend gitea
mode http
# WARNING: due to limitations in the config parser, the characters ")","]", or "," are not allowed in any regular expression
http-request set-path "%[path,regsub(^/git/,/)]"
server gt-1 127.0.0.1:9081