Skip to content
Snippets Groups Projects
Commit a4f4bd6f authored by Chris Shantz's avatar Chris Shantz
Browse files

More changes to entry-point so routing works correctly...

parent 4366ed57
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ if [ -n "$APACHE_DOCROOT_DIR" ]; then ...@@ -18,7 +18,7 @@ if [ -n "$APACHE_DOCROOT_DIR" ]; then
fi fi
# Allow the site name to be overriden. # Allow the site name to be overriden.
APACHE_SITE_NAME="${APACHE_SITE_NAME:-docker}" APACHE_SITE_NAME="${APACHE_SITE_NAME:-wcms-docker}"
if [ -n "$APACHE_SITE_NAME" ]; then if [ -n "$APACHE_SITE_NAME" ]; then
sed -i 's@^\s*ServerName.*@'" ServerName ${APACHE_SITE_NAME}"'@' /etc/apache2/sites-available/000-default.conf sed -i 's@^\s*ServerName.*@'" ServerName ${APACHE_SITE_NAME}"'@' /etc/apache2/sites-available/000-default.conf
fi fi
......
...@@ -18,7 +18,7 @@ if [ -n "$APACHE_DOCROOT_DIR" ]; then ...@@ -18,7 +18,7 @@ if [ -n "$APACHE_DOCROOT_DIR" ]; then
fi fi
# Allow the site name to be overriden. # Allow the site name to be overriden.
APACHE_SITE_NAME="${APACHE_SITE_NAME:-docker}" APACHE_SITE_NAME="${APACHE_SITE_NAME:-wcms-docker}"
if [ -n "$APACHE_SITE_NAME" ]; then if [ -n "$APACHE_SITE_NAME" ]; then
sed -i 's@^\s*ServerName.*@'" ServerName ${APACHE_SITE_NAME}"'@' /etc/apache2/sites-available/000-default.conf sed -i 's@^\s*ServerName.*@'" ServerName ${APACHE_SITE_NAME}"'@' /etc/apache2/sites-available/000-default.conf
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment