How to configure a container with Apache for Drupal 8 behind another container Nginx used as a reverse proxy How to configure a container with Apache for Drupal 8 behind another container Nginx used as a reverse proxy docker docker

How to configure a container with Apache for Drupal 8 behind another container Nginx used as a reverse proxy


Finally, I found the error.

I had to use this configuration :

<VirtualHost *:80>    ServerAdmin toto@toto.com    ServerName weblab.mhf.mhc    DocumentRoot /srv/www/    ErrorLog ${APACHE_LOG_DIR}/client_portal.error.log    CustomLog ${APACHE_LOG_DIR}/client_portal.access.log combined    <Directory  /srv/www/client_portal>        Options -Indexes +Includes +FollowSymLinks -MultiViews        AllowOverride All        Require all granted    </Directory></VirtualHost>

For Drupal the MultiViews option has to be disable :

If the Apache server has Options +MultiViews enabled by default, then the Apache >Virtualhost configuration should also contain Options -MultiViews (or have -MultiViews >added to the existing Options directive).

source : https://www.drupal.org/docs/8/system-requirements/web-server