Production Docker with Apache

This commit is contained in:
2023-02-14 18:41:47 -03:00
parent cce0a118b7
commit 45069dfc00
4 changed files with 35 additions and 0 deletions

3
app/.htaccess Normal file
View File

@ -0,0 +1,3 @@
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]

4
app/public/.htaccess Normal file
View File

@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]