kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
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>environments/review-docs-user-s36fyb/deployments/18950
rodzic
b00daa189d
commit
da01070455
|
@ -0,0 +1 @@
|
|||
Do not cache all requests to avoid missing updates #2258
|
|
@ -78,7 +78,6 @@ server {
|
|||
# end of compression settings
|
||||
|
||||
location / {
|
||||
expires 1d;
|
||||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
proxy_pass http://fw;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue