Fix CSP violations and revert to stable CSS version
- Add region1.google-analytics.com to CSP headers in index.php and blog articles
- Fix manifest.json icon purpose warning by changing to "any"
- Add mobile-web-app-capable meta tag for mobile compatibility
- Revert CSS files to stable version from commit 5558f53 to resolve hero section animation issues
- Remove spam protection code that was causing layout problems
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,5 +1,12 @@
|
||||
FROM php:8.1-apache
|
||||
|
||||
# Install required packages
|
||||
RUN apt-get update && apt-get install -y \
|
||||
msmtp \
|
||||
msmtp-mta \
|
||||
mailutils \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Enable Apache modules
|
||||
RUN a2enmod rewrite headers
|
||||
|
||||
@@ -12,6 +19,11 @@ COPY apache-config.conf /etc/apache2/sites-available/000-default.conf
|
||||
# Copy application files
|
||||
COPY . /var/www/html/
|
||||
|
||||
# Configure msmtp
|
||||
COPY .msmtprc /etc/msmtprc
|
||||
RUN chmod 600 /etc/msmtprc
|
||||
RUN echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/mail.ini
|
||||
|
||||
# Set proper permissions
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
RUN chmod -R 755 /var/www/html
|
||||
|
||||
Reference in New Issue
Block a user