Merge branch 'main' into user-export

This commit is contained in:
Hugh Rundle 2024-01-28 15:11:02 +11:00
commit 0d619f7eb4
No known key found for this signature in database
GPG key ID: A7E35779918253F9
3 changed files with 5 additions and 2 deletions

View file

@ -64,7 +64,7 @@ server {
# directly serve images and static files from the # directly serve images and static files from the
# bookwyrm filesystem using sendfile. # bookwyrm filesystem using sendfile.
# make the logs quieter by not reporting these requests # make the logs quieter by not reporting these requests
location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|webp|css|js)$ { location ~ \.(bmp|ico|jpg|jpeg|png|svg|tif|tiff|ttf|webp|css|js)$ {
root /app; root /app;
try_files $uri =404; try_files $uri =404;
add_header X-Cache-Status STATIC; add_header X-Cache-Status STATIC;

View file

@ -96,7 +96,7 @@ server {
# # directly serve images and static files from the # # directly serve images and static files from the
# # bookwyrm filesystem using sendfile. # # bookwyrm filesystem using sendfile.
# # make the logs quieter by not reporting these requests # # make the logs quieter by not reporting these requests
# location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|webp|css|js)$ { # location ~ \.(bmp|ico|jpg|jpeg|png|svg|tif|tiff|ttf|webp|css|js)$ {
# root /app; # root /app;
# try_files $uri =404; # try_files $uri =404;
# add_header X-Cache-Status STATIC; # add_header X-Cache-Status STATIC;

View file

@ -2,6 +2,9 @@ bind 127.0.0.1 ::1
protected-mode yes protected-mode yes
port 6379 port 6379
auto-aof-rewrite-percentage 50
auto-aof-rewrite-min-size 128mb
rename-command FLUSHDB "" rename-command FLUSHDB ""
rename-command FLUSHALL "" rename-command FLUSHALL ""
rename-command DEBUG "" rename-command DEBUG ""