fix(nginx): Do not cache all requests for a day in the reverse proxy

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2673>
This commit is contained in:
Georg Krause 2023-12-08 13:46:32 +00:00 committed by Marge
commit da01070455
3 changed files with 3 additions and 1 deletions

View file

@ -159,7 +159,9 @@ server {
{% endif %}
location / {
{% if not config.reverse_proxy %}
expires 1d;
{% endif %}
include /etc/nginx/funkwhale_proxy.conf;
{% if config.proxy_frontend and not config.reverse_proxy %}
proxy_pass http://funkwhale-front;