AuthType Basic
AuthName "Maison CPC lighting reference"
AuthUserFile /home/hosting_users/maisoncpc/www/public/lighting_app/.htpasswd
Require valid-user

<FilesMatch "^\.(htaccess|htpasswd)$">
  Require all denied
</FilesMatch>

Header always set X-Robots-Tag "noindex, nofollow, noarchive, nosnippet, noimageindex"
Options -Indexes

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/jpeg "access plus 1 year"
</IfModule>
<FilesMatch "\.(jpg|jpeg|png|webp)$">
  Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
<FilesMatch "\.(html|json|js|css)$">
  Header set Cache-Control "private, max-age=0, must-revalidate"
</FilesMatch>
FileETag MTime Size

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/css application/javascript application/json
</IfModule>
