Skip to content

Commit

Permalink
enable gzip_static and gunzip for OCR json files - #6273
Browse files Browse the repository at this point in the history
  • Loading branch information
off committed Jan 27, 2022
1 parent 9e001c1 commit cadf1c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/nginx/sites-available/off
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ server {
location ~ ^/(.well-known|images|css|js|rss|files|resources|foundation|bower_components)/ {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
gzip_static always;
gunzip on;
}

location = /robots.txt {
Expand Down

0 comments on commit cadf1c3

Please sign in to comment.