formation 5 年之前
父节点
当前提交
6187df1514
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 5 5
      build/docker/apache/Dockerfile
  2. 2 2
      build/docker/apache/apache.conf

+ 5 - 5
build/docker/apache/Dockerfile

@@ -12,12 +12,12 @@ RUN docker-php-ext-install opcache \
 COPY $PWD/build/docker/apache/app_php.ini /usr/local/etc/php/conf.d/app_php.ini
 COPY $PWD/build/docker/apache/apache.conf /etc/apache2/sites-available/foodgame.fr.conf
 
-#RUN a2dissite foodgame.fr foodgame.fr-ssl
-#RUN a2ensite foodgame.fr
-#RUN a2enmod ssl
+RUN a2dissite foodgame.fr foodgame.fr-ssl
+RUN a2ensite foodgame.fr
+RUN a2enmod ssl
 
-#COPY $PWD /var/www/index.html
-WORKDIR /src/index.php
+COPY $PWD /var/www/html
+WORKDIR /var/www/html
 
 
 EXPOSE 80

+ 2 - 2
build/docker/apache/apache.conf

@@ -1,6 +1,6 @@
 <VirtualHost *:80>
-   DocumentRoot /src/index.php
-   <Directory /src/index.php/>
+   DocumentRoot /var/www/html
+   <Directory /var/www/html/>
         Options +Indexes +FollowSymlinks
         AllowOverride All
    </Directory>