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