Skip to content

Commit

Permalink
Improved/Fixed documentation for Apache config override files (#2406)
Browse files Browse the repository at this point in the history
  • Loading branch information
arafalov committed Jul 21, 2020
1 parent ccb2bb1 commit 1ea7449
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ as you see fit. Use `ddev start` to restart.

You can also add more configurations, for example with separate configurations
for each site, as demonstrated by the second_docroot.conf.example, which shows how to have apache serve completely different configurations for a named site that is different from the default.

The files will be copied into /etc/apache2/sites-enabled directory.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#ddev-generated
# If you want to take over this file and customize it, remove the line above
# and ddev will respect it and won't overwrite the file.
# See https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#providing-custom-nginx-configuration
# See https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#providing-custom-apache-configuration
<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =https
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#ddev-generated
# If you want to take over this file and customize it, remove the line above
# and ddev will respect it and won't overwrite the file.
# See https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#providing-custom-nginx-configuration
# See https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#providing-custom-apache-configuration
<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =https
Expand Down

0 comments on commit 1ea7449

Please sign in to comment.