From 9aeafd07ec88217545378bbce40293870cc452d2 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 16 Jun 2025 00:25:02 +0200 Subject: [PATCH] add explanation for x-sendfile --- doc/README.Development.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/README.Development.md b/doc/README.Development.md index c6d8477..07252cb 100644 --- a/doc/README.Development.md +++ b/doc/README.Development.md @@ -133,6 +133,11 @@ To run the Rails server in development mode on port 3001 with HTTPS: This is required to be able to use single-sign login with the different services. +If you keep `config.action_dispatch.x_sendfile_header = 'X-Sendfile'` in your config/development.rb +file, then you need to point your browser to the port of the "thrust" process. In Procfile.dev it +is set to port 3001. In that case the Rails application runs on port 3000 and will not deliver files (e.g. images +and other assets). In that case use localhost:3001 in your browser. + # Production installation Building a Docker image is the recommended way to prepare Debshots for production.