WP test container created

This commit is contained in:
jasa
2026-09-24 18:06:11 +02:00
parent 3ee471bf39
commit e2442d1d15
44 changed files with 2244 additions and 47 deletions
+22
View File
@@ -0,0 +1,22 @@
# Logs and the PID file must go to writable paths: /var/log/apache2 and
# /var/run/apache2 are root-owned in the image, and this container runs as an
# unprivileged uid so that it matches the owner of the bind-mounted tree.
ErrorLog /dev/stderr
PidFile /tmp/apache2.pid
ServerName localhost
<Directory /var/www/html>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Fonts are the only subresource the browser always fetches in CORS mode, and
# WordPress emits asset URLs from WP_HOME — so opening the site at any other
# host turns every font into a blocked cross-origin request. Fine on a local
# rig; never in production.
<IfModule mod_headers.c>
<FilesMatch "\.(woff2?|ttf|otf|eot)$">
Header always set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>