Commit 2815e21e authored by Ryan Herbert's avatar Ryan Herbert
Browse files

Merge branch 'feature/cache_control' into 'dev'

Feature/cache control

Closes #2498

See merge request !84
parents c248d0d2 a0ee6395
......@@ -38,6 +38,7 @@ server {
location /browser {
root /var/www;
expires 1h;
add_header Cache-Control must-revalidate;
error_page 405 = $uri;
......@@ -46,6 +47,7 @@ server {
location /germline {
root /usr/share/vidjil/;
expires 1h;
add_header Cache-Control must-revalidate;
error_page 405 = $uri;
......
......@@ -107,6 +107,7 @@ server {
location /browser {
root $CWD/../;
expires 1h;
add_header Cache-Control must-revalidate;
error_page 405 = $uri;
}
......@@ -114,6 +115,7 @@ server {
location /germline {
root $CWD/../;
expires 1h;
add_header Cache-Control must-revalidate;
error_page 405 = $uri;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment