this post was submitted on 14 Aug 2023
14 points (93.8% liked)

Selfhosted

39206 readers
353 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

EDIT: found the culprit. It was cloudflare's Brotli compression. Everything's working fine now after disabling it. For those who are wondering, it's under Speed>optimization>content-optimization in the CF dashboard.


Hi,

For those who are using FIlestash, I am trying to configure Filestash behind a subdomain with caddy, but I keep getting stuck at the nyan cat loading screen. I can access the app via IP:port without any problem so I am guessing the problem lies in the reverse proxy configuration.

I've tried changing the hostname to my domain in the app (settings>general), tried adding various header directives to the Caddyfile to no avail.

Filestash container logs output:

filestash  | 2023/08/14 12:04:18 SYST INFO Filestash v0.5 starting
filestash  | 2023/08/14 12:04:18 SYST INFO [http] starting ...
filestash  | 2023/08/14 12:04:19 SYST INFO [http] listening on :8334
filestash  | 2023/08/14 12:04:25 HTTP 200 GET    0.2ms /admin/setup
filestash  | 2023/08/14 12:04:26 HTTP 401 GET    0.1ms /api/session
filestash  | 2023/08/14 12:04:26 HTTP 200 GET    0.7ms /api/config

Caddyfile

stash.mydomain.com {
        reverse_proxy filestash:8334 {
}         
}

docker-compose.yml

version: '2'
services:
  app:
    container_name: filestash
    image: machines/filestash
    restart: always
    environment:
    - APPLICATION_URL=https://stash.mydomain.com
networks:
  default:
    external:
      name: caddy

Any help would be appreciated.

top 1 comments
sorted by: hot top controversial new old
[–] loggy@infosec.pub 1 points 1 year ago* (last edited 1 year ago)

Found the solution! It was cloudflare's Brotli compression thingy. It started working after I disabled it. It's under Speed>optimization>content optimization in the CF dashboard.