fix: Fix .htaccess rights

This commit is contained in:
Vincent BRIDIER 2025-10-06 19:22:20 +02:00
parent 80531734f5
commit 0e80683048
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -7,4 +7,5 @@ USER www-data
# Create .htaccess file with rewrite rules
RUN echo 'RewriteEngine On' > /var/www/html/.htaccess && \
echo 'RewriteRule ^unicorn$ matomo.js [L]' >> /var/www/html/.htaccess && \
echo 'RewriteRule ^rainbow$ matomo.php [L]' >> /var/www/html/.htaccess
echo 'RewriteRule ^rainbow$ matomo.php [L]' >> /var/www/html/.htaccess
USER root