Skip to content

Commit

Permalink
rewrite all (#511)
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Wojczal <mateusz@wojczal.com>
  • Loading branch information
qunabu and Mateusz Wojczal authored Nov 20, 2024
1 parent d0fd3fc commit a6998a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ COPY entrypoint.sh /usr/local/bin/httpd-foreground
ENTRYPOINT /usr/local/bin/httpd-foreground
COPY --from=base /home/node/app/dist /var/www/html
COPY config/php/index.php /var/www/html/index.php

RUN a2enmod rewrite
4 changes: 4 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

0 comments on commit a6998a9

Please sign in to comment.