feat: enable Apache headers and rewrite module in Dockerfile; wrap header setting in .htaccess with IfModule check
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
FROM php:8.2-apache
|
||||
|
||||
RUN a2enmod headers rewrite
|
||||
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql
|
||||
|
||||
COPY . /var/www/html/
|
||||
|
||||
Reference in New Issue
Block a user