move shrine files out of public. use x-sendfile to send files for security.

This commit is contained in:
Christoph Haas 2025-06-16 00:24:11 +02:00
parent 8e66fb28db
commit b601b2bbb6
11 changed files with 164 additions and 140 deletions

12
.gitignore vendored
View file

@ -17,16 +17,8 @@
!/tmp/.keep
/public/assets/
/public/system/
# old Paperclip path
/public/screenshots/
# old Shrine path
/public/screenshot/
# new Shrine path
/public/shrine/
/public/cache/screenshot/
/public/live/
/public/packs-test/
/public/packs/
/public/cache/
/shrine/
# Ignore pidfiles, but keep the directory.
/tmp/pids/*