This is a gentle fork from https://framagit.org/marienfressinaud/photos.marienfressinaud.fr with a responsive and optimized mindset. https://media.larlet.fr/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1 рік тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. AddType image/x-icon .ico
  2. AddType font/truetype .ttf
  3. AddType application/x-font-woff .woff
  4. AddType application/x-font-woff2 .woff2
  5. AddType video/mp4 .m4v
  6. AddType video/webm .webm
  7. AddDefaultCharset utf-8
  8. AddHandler cgi-script .py
  9. Options All -Indexes +ExecCGI
  10. DirectoryIndex index.html index.xml index.py
  11. ExpiresActive On
  12. ExpiresDefault "access plus 2 hours"
  13. ExpiresByType text/html "access plus 2 hours"
  14. ExpiresByType image/ico "access plus 1 year"
  15. ExpiresByType image/icon "access plus 1 year"
  16. ExpiresByType image/x-icon "access plus 1 year"
  17. ExpiresByType image/jpg "access plus 1 year"
  18. ExpiresByType image/jpeg "access plus 1 year"
  19. ExpiresByType image/png "access plus 1 year"
  20. ExpiresByType image/gif "access plus 1 year"
  21. ExpiresByType text/css "access plus 1 month"
  22. ExpiresByType application/javascript "access plus 1 month"
  23. ExpiresByType font/truetype "access plus 1 year"
  24. ExpiresByType application/x-font-woff "access plus 1 year"
  25. ExpiresByType application/x-font-woff2 "access plus 1 year"
  26. <FilesMatch "\\.(html|htm|xml)$">
  27. Header set Cache-Control "max-age=7200, public"
  28. </FilesMatch>
  29. <FilesMatch "\\.(ico|jpeg|jpg|png|gif)$">
  30. Header set Cache-Control "max-age=31536000, public"
  31. </FilesMatch>
  32. <FilesMatch "\\.(js|css)$">
  33. Header set Cache-Control "max-age=2592000, public"
  34. </FilesMatch>
  35. <FilesMatch "\\.(ttf|woff|woff2)$">
  36. Header set Cache-Control "max-age=31536000, public"
  37. </FilesMatch>
  38. Header always set Strict-Transport-Security "max-age=31536000; preload"
  39. Header always set X-Frame-Options SAMEORIGIN
  40. Header always set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src * data:; media-src *; frame-src 'self' https://player.vimeo.com; script-src 'self' 'unsafe-inline' https://player.vimeo.com"
  41. Header always set X-Content-Type-Options nosniff
  42. Header always set X-XSS-Protection "1; mode=block"
  43. Header always set Referrer-Policy "origin"
  44. Header unset ETag
  45. Header unset Server
  46. FileETag none
  47. RewriteEngine On
  48. RewriteCond %{HTTP:X-Forwarded-Proto} !https
  49. RewriteCond %{SERVER_NAME} =media.larlet.fr
  50. RewriteRule ^.* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
  51. Redirect 410 /wp-login.php