Added caching headers on front urls
This commit is contained in:
parent
0201b73b10
commit
e1f02ede35
|
@ -32,6 +32,9 @@ server {
|
|||
|
||||
location /front/ {
|
||||
alias /frontend/;
|
||||
expires 30d;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||
}
|
||||
|
||||
location /federation/ {
|
||||
|
|
|
@ -87,6 +87,9 @@ server {
|
|||
|
||||
location /front/ {
|
||||
alias ${FUNKWHALE_FRONTEND_PATH}/;
|
||||
expires 30d;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||
}
|
||||
|
||||
location /federation/ {
|
||||
|
|
Loading…
Reference in New Issue