mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-20 23:13:43 -04:00
Co-authored-by: Anwarul Islam <anwaarulislaam@gmail.com> Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
32 lines
377 B
Caddyfile
32 lines
377 B
Caddyfile
{
|
|
admin off
|
|
persist_config off
|
|
}
|
|
|
|
:3000 {
|
|
try_files {path} /
|
|
root * /site/selfhost-web
|
|
file_server
|
|
}
|
|
|
|
:3100 {
|
|
try_files {path} /
|
|
root * /site/sh-admin-multiport-setup
|
|
file_server
|
|
}
|
|
|
|
:3170 {
|
|
@mock {
|
|
header_regexp host Host ^[^.]+\.mock\..*$
|
|
}
|
|
|
|
handle @mock {
|
|
rewrite * /mock{uri}
|
|
reverse_proxy localhost:8080
|
|
}
|
|
|
|
handle {
|
|
reverse_proxy localhost:8080
|
|
}
|
|
}
|