Skip to content

v0.7.2

Latest
Compare
Choose a tag to compare
@mouse-reeve mouse-reeve released this 17 Jan 22:47
· 486 commits to main since this release

Important
You will need to update your nginx config! You need to make two changes to the default.conf file so that they reflect the current state of production.conf:

  1. Change the location block on line 99 (this may vary if you have made any edits to your copy of the file) from location ~ ^/(images|static)/ { to location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|webp|css|js)$ {. The whole block should now look like this:
    location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|webp|css|js)$ {
        root /app;
        try_files $uri =404;
        add_header X-Cache-Status STATIC;
        access_log off;
    }
  1. Add a new block below (by default this will be on line 106):
    # block access to any non-image files from images or static
    location ~ ^/images/ {
         return 403;
    }

It's a good idea to check that your config syntax is valid before restarting nginx. With docker, you can run: docker-compose run --rm nginx nginx -t. Please reach out in the developer chat if you have any questions ❤️

What's Changed

New Contributors

Full Changelog: v0.7.1...v0.7.2