Skip to content

Commit

Permalink
Update Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
samss084 authored Feb 1, 2025
1 parent 7cc61ab commit f2c93a9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions ci/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
admin localhost:4444

}
:8000 {
@portLocalhost path_regexp port ^/([0-9]+)\/ide
handle @portLocalhost {
uri strip_prefix {re.port.1}/ide
reverse_proxy localhost:{re.port.1}
0ortLocalhost path_regexp port ^/([0-9]+)\/ide
handle Localhost {
uri prefix {re.port.1}/
prroxy localhost:{re.port.1}
}

handle {
respond "Bad hostname" 400

}

}

0 comments on commit f2c93a9

Please sign in to comment.