add explanation for x-sendfile

This commit is contained in:
Christoph Haas 2025-06-16 00:25:02 +02:00
parent 4b1147285f
commit 9aeafd07ec

View file

@ -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. 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 # Production installation
Building a Docker image is the recommended way to prepare Debshots for production. Building a Docker image is the recommended way to prepare Debshots for production.