Fixed docker env bugs, and issues from PR

This commit is contained in:
Nedim Uka
2018-07-26 13:47:59 +02:00
parent 1f6b1043a4
commit 5c07b371a0
6 changed files with 21 additions and 17 deletions

View File

@@ -1,12 +1,15 @@
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /api/
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /api/index.php [L]
RewriteRule . /index.php [L]
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
</IfModule>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# END WordPress
# END WordPress