* [fix] container: remove static hashing
Allows browser cache heuristics to properly work.
Related https://github.com/searxng/searxng/pull/5006
Closes https://github.com/searxng/searxng-docker/issues/409
* [fix] container: don't revalidate at every request
As Granian no longer handles static files directly, the whole process goes through Flask, which apart from being slow, is resource intensive, even to serve HTTP 304 responses.
* rework Caddyfile
* fix missing "public" directive
* features cleanup
Since this header is attached to each outgoing request the overall size is slightly increased by 300 bytes, we don't care if the site is allowed to play media in the background, so with the vast majority of features that have been added (and those that were already present)
* restore encode directive
Caddyserver actually did passthrough the precompressed resources served by uWSGI (Oops)
* merge upstream changes
* fix typo
---------
Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
* Use docker image caddy:2-alpine
* Caddyfile: remove "limits 10KB"
* Caddyfile: URL /filtron/rules removes (filtron API still availabled on http://localhost:4041/rules )
* caddy storage are docker volumes (caddy-data and caddy-config). start.sh and stop.sh have been modified to keep these volumes.
* .env: Remove SEARX_PROTOCOL, SEARX_TLS, FILTRON_USER and FILTRON_PASSWORD variables.
* docker-compose.yml: filtron and morty listen on 127.0.0.1 (related to #38)
* Fix#37: settings ```SEARX_HOSTNAME=localhost:8888``` works as expected (https connection)