mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-11-04 19:52:15 +00:00
* Reapply "browser_brave/browser_chromium: make Chrome devtools port 9221 reachable (#3189) (#3194)" #3194 was reverted by the builder's revert-on-failure job because the image builds hit lscr.io 429 Too Many Requests while pulling the LSIO base images, not because of the diff (its PR build tests passed). Reapplied verbatim. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * browser_brave/browser_chromium: blank line after CHANGELOG heading (markdownlint MD022/MD032) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * browser_chromium: do not enable devtools proxy in standalone mode The standalone bashio shim returns the port number itself when no override is set, so the 9221 check enabled the proxy unconditionally outside Supervisor. Require bashio::supervisor.ping, as 00-banner.sh does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
480 B
Plaintext
16 lines
480 B
Plaintext
# Chrome devtools: the browser only binds 127.0.0.1 when not headless,
|
|
# so expose it on 9221 through nginx (enabled by 90-ingress.sh when mapped)
|
|
server {
|
|
listen 9221;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:9222;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_set_header Host $http_host;
|
|
proxy_read_timeout 86400s;
|
|
proxy_send_timeout 86400s;
|
|
}
|
|
}
|