Author SHA1 Message Date
woggioni 5c6a5980ec fixed css
CI / Build and push docker image (push) Successful in 3m36s
2026-09-07 04:13:18 +08:00
woggioni 74c7400957 added arm64 docker image 2026-09-06 23:11:27 +08:00
woggioni-opencode-agent 47d2280970 Upgrade to kaya 0.0.3 with trusted-proxy forwarded header support
CI / Build and push docker image (push) Successful in 1m25s
- bump kaya-core/kaya-rsgi to >= 0.0.3 and add kaya-forwarded: forwarded
  header handling is no longer built into core, it is opt-in via
  ForwardedHeadersMixin and gated on trusted proxy CIDRs
- add TRUSTED_PROXY_CIDRS setting (comma-separated CIDRs, validated at
  startup; empty means no proxy is trusted) and wire the mixin in app.py
- cover trusted/untrusted peers, all-trusted chains and the RFC 7239
  Forwarded header with port in the test suite
- document the new variable in README, .env.example and docker-compose.yml
2026-09-05 16:18:37 +08:00
2 changed files with 17 additions and 4 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
platforms: |
linux/amd64
linux/arm64
push: true
pull: true
tags: ${{ steps.meta.outputs.tags }}
+14 -3
View File
@@ -47,9 +47,20 @@ _PAGE = """<!DOCTYPE html>
div.cli-wrap {{
padding-top: 20px;
}}
table {{ border-collapse: collapse; width: 100%; line-height: 20px; }}
td, th {{ border: 1px solid black; padding: .4rem .6rem; text-align: left;
vertical-align: top; }}
table {{
border-collapse: collapse;
width: 100%;
line-height: 20px;
table-layout: fixed;
}}
table tr td, table tr th {{
border: 1px solid black;
padding: .4rem .6rem;
text-align: left;
vertical-align: center;
overflow-wrap: break-word;
white-space: normal;
}}
td:first-child {{ white-space: nowrap; width: 12rem; }}
code, pre {{ background: #f5f5f5; margin: 0px; }}
pre {{ padding: .8rem; overflow-x: auto; border: 1px solid #e2e2e2; overflow-x: hidden; }}