Skip to content
Snippets Groups Projects
Commit 55da2940 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Added cache header for static and public files (refs #18984).

parent 988d1d20
No related branches found
No related tags found
No related merge requests found
......@@ -15,9 +15,15 @@ server {
location /media {
alias /home/skyreach/htdocs/skyreach_site/media;
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
location /static {
alias /home/skyreach/htdocs/skyreach_site/static;
expires 30d;
add_header Pragma public;
add_header Cache-Control "public";
}
location /remote-event/ {
......
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