use ENV variables instead of hardcoded values

This commit is contained in:
GotPPay
2018-06-20 12:06:11 +02:00
parent 007063c868
commit 4481cadbee
8 changed files with 55 additions and 10 deletions

16
docker/php/.htaccess Normal file
View File

@@ -0,0 +1,16 @@
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ wp/$1 [L]
RewriteRule . index.php [L]
# END WordPress