Added caching headers on front urls

merge-requests/552/head
Eliot Berriot 2018-12-20 15:59:55 +01:00
rodzic 0201b73b10
commit e1f02ede35
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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/ {

Wyświetl plik

@ -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/ {