Skip to content

Commit

Permalink
Update Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Nov 6, 2024
1 parent fc3ee20 commit f04befd
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions fly/applications/caddy/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
auto_https off
# auto_https off
log {
level ERROR
}
Expand All @@ -26,6 +26,8 @@
uri replace /pt /
uri replace /tr /

# header fly-replay "app=invenio-rdm-starter"

handle /blogs/syldavia_gazette* {
uri path_regexp /blogs/syldavia_gazette /communities/syldavia_gazette/records

Expand All @@ -37,10 +39,11 @@
-language
}

# header fly-replay "app=invenio-rdm-starter"

reverse_proxy 2a09:8280:1::39:a377:0 {
header_up Host beta.rogue-scholar.org
reverse_proxy https://beta.rogue-scholar.org {
header_up Host {upstream_hostport}
transport http {
tls_insecure_skip_verify
}
}
}

Expand All @@ -60,16 +63,21 @@
-language
}

reverse_proxy invenio-rdm-starter.flycast {
header_up Host beta.rogue-scholar.org
reverse_proxy https://beta.rogue-scholar.org {
header_up Host {upstream_hostport}
transport http {
tls_insecure_skip_verify
}
}
}

handle {
handle /posts {
uri replace /posts /
}
uri replace / /search
handle / {
uri replace / /search
}
uri query {
query>q
tags>f
Expand All @@ -80,8 +88,11 @@
f (\D+) subject:$1
}

reverse_proxy invenio-rdm-starter.flycast {
header_up Host beta.rogue-scholar.org
reverse_proxy https://beta.rogue-scholar.org {
header_up Host {upstream_hostport}
transport http {
tls_insecure_skip_verify
}
}
}
}

0 comments on commit f04befd

Please sign in to comment.