# Docker install fails as soon as its behind a proxy

**URL:** https://community.silverbullet.md/t/docker-install-fails-as-soon-as-its-behind-a-proxy/1173
**Category:** General
**Created:** [October 28, 2024, 9:16am UTC](https://community.silverbullet.md/t/docker-install-fails-as-soon-as-its-behind-a-proxy/1173 "2024-10-28T09:16:56Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![smileBeda](https://community.silverbullet.md/user_avatar/community.silverbullet.md/smilebeda/32/448_2.png) [@smileBeda](https://community.silverbullet.md/u/smileBeda)
#### Post date: [October 29, 2024, 9:10am UTC](https://community.silverbullet.md/t/docker-install-fails-as-soon-as-its-behind-a-proxy/1173/3 "2024-10-29T09:10:55Z")

</div>

Thanks

- Yes I point it to the proper IP (Docker internal) with proper Port (Docker internal 3001)
- Am I behind a CGNAT? Well most likely. My (home) internet is actually a LTE connection distributed via portable router (I know it is insane, but hey, it works)

The thing is the same setup works fine for a plethora (around 20) other services I self host, many of which are easily more complex than SB (WP Docker can be a REAL pain, for example). I am pretty sure I did not misconfigure anything, also because it “works” - meaning I can reach the thing, just that the thing breaks inside itself (JS errors, etc)

There is not much config about the NPM to share - it is literally just GUI settings \> new proxy \> http + Local DockerIP:3000, support websocket. That’s it

Now… I just saw this:

> [@Help: Serving SilverBullet.md using Nginx](https://community.silverbullet.md/t/help-serving-silverbullet-md-using-nginx/1181/3):
>
> To confirm: SilverBullet needs to be served at the root otherwise it won’t work. Until this lands: [Feature: URL base/URL subpath support by Shihira · Pull Request #1131 · silverbulletmd/silverbullet · GitHub](https://github.com/silverbulletmd/silverbullet/pull/1131)

Apparently SB cannot be installed in a subdomain, so that is probably the issue? I do run this on `notes.domain.tld`, as I do not want to buy a dedicate domain just for the SB instance.

Apologies for the ping - @zef, can you confirm my above described attempt will simply not work on a subdomain? I mean, if that is not supported, I think the whole shebang between Cloudflare and my local docker are not the issue, rather that the instance is called over a subdomain is the problem?

Thanks!

---

_[View the full topic](https://community.silverbullet.md/t/docker-install-fails-as-soon-as-its-behind-a-proxy/1173)._
