Skip to content
Snippets Groups Projects
Verified Commit e1f02ede authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Added caching headers on front urls

parent 0201b73b
No related branches found
No related tags found
No related merge requests found
Pipeline #2742 passed with stages
in 6 minutes and 44 seconds
......@@ -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/ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment