|
@@ -26,6 +26,12 @@ server {
|
|
|
return 200 'OK';
|
|
|
}
|
|
|
|
|
|
+ location /uploads {
|
|
|
+ alias /app/public/uploads;
|
|
|
+ expires 30d;
|
|
|
+ add_header Cache-Control "public, max-age=2592000";
|
|
|
+ }
|
|
|
+
|
|
|
# Security headers
|
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
|
add_header X-XSS-Protection "1; mode=block" always;
|