Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com> Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
19 lines
227 B
Text
19 lines
227 B
Text
{
|
|
admin off
|
|
persist_config off
|
|
}
|
|
|
|
:80 :3170 {
|
|
@mock {
|
|
header_regexp host Host ^[^.]+\.mock\..*$
|
|
}
|
|
|
|
handle @mock {
|
|
rewrite * /mock{uri}
|
|
reverse_proxy localhost:8080
|
|
}
|
|
|
|
handle {
|
|
reverse_proxy localhost:8080
|
|
}
|
|
}
|