Fix ISL Caddy config: use host gateway IP, allow iframe embedding

ISL runs as a systemd service on the host, not in Docker.
Point Caddy to 172.18.0.1:3011 (Docker gateway) instead of
isl-server:3011. Strip X-Frame-Options and use CSP frame-ancestors
to allow embedding from grove.host.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Anton Kaminsky22d agoabf167ce973eparent 44863ab
1 file changed+7-3
hub/Caddyfile
@@ -87,16 +87,20 @@
8787
8888isl.{$DOMAIN} {
8989 handle /ws {
90 reverse_proxy isl-server:3011
90 reverse_proxy 172.18.0.1:3011 {
91 header_down -X-Frame-Options
92 }
9193 }
9294
9395 handle {
94 reverse_proxy isl-server:3011
96 reverse_proxy 172.18.0.1:3011 {
97 header_down -X-Frame-Options
98 }
9599 }
96100
97101 header {
98102 X-Content-Type-Options nosniff
99 X-Frame-Options SAMEORIGIN
103 Content-Security-Policy "frame-ancestors https://grove.host https://*.grove.host"
100104 }
101105}
102106
103107