Skip to content

Commit 06bdaaa

Browse files
committed
magento
1 parent 862615b commit 06bdaaa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

apps/magento/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ COPY src/extensions.ini /usr/local/bin/config.ini
2525
COPY src/apt_install.sh /usr/local/bin/apt_install.sh
2626
COPY src/php_install.sh /usr/local/bin/php_install.sh
2727
COPY src/magento_init.sh /usr/local/bin/magento_init.sh
28+
COPY src/000-default.conf /etc/apache2/sites-available/000-default.conf
2829

2930
RUN chmod +x /usr/local/bin/apt_install.sh
3031
RUN chmod +x /usr/local/bin/php_install.sh

apps/magento/src/000-default.conf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@
99
#ServerName www.example.com
1010

1111
ServerAdmin webmaster@localhost
12-
DocumentRoot /var/www/html
12+
DocumentRoot /var/www/html/pub
1313

14+
<Directory /var/www/html/pub>
15+
Options FollowSymLinks
16+
AllowOverride All
17+
Require all granted
18+
</Directory>
19+
1420
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
1521
# error, crit, alert, emerg.
1622
# It is also possible to configure the loglevel for particular

0 commit comments

Comments
 (0)