Skip to content

Commit

Permalink
Merge branch 'main' into issue-3187
Browse files Browse the repository at this point in the history
  • Loading branch information
hughrun authored Jan 30, 2024
2 parents c459654 + 193aeff commit ef6fd60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nginx/development
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ server {
# directly serve images and static files from the
# bookwyrm filesystem using sendfile.
# 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;
try_files $uri =404;
add_header X-Cache-Status STATIC;
Expand Down
2 changes: 1 addition & 1 deletion nginx/production
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ server {
# # directly serve images and static files from the
# # bookwyrm filesystem using sendfile.
# # 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;
# try_files $uri =404;
# add_header X-Cache-Status STATIC;
Expand Down
3 changes: 3 additions & 0 deletions redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ bind 127.0.0.1 ::1
protected-mode yes
port 6379

auto-aof-rewrite-percentage 50
auto-aof-rewrite-min-size 128mb

rename-command FLUSHDB ""
rename-command FLUSHALL ""
rename-command DEBUG ""
Expand Down

0 comments on commit ef6fd60

Please sign in to comment.