Disable caching on twitter-images directory

#21
This commit is contained in:
Matt Isenhower
2019-01-07 12:06:45 -08:00
parent 527542d4cc
commit 0a9430af00

View File

@@ -26,6 +26,11 @@ server {
autoindex on;
}
location /twitter-images/ {
add_header Cache-Control no-cache;
add_header Access-Control-Allow-Origin *;
}
location ~ \.ics$ {
add_header Content-Type text/calendar;
}