We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db8bdfe commit a8b9c0dCopy full SHA for a8b9c0d
1 file changed
entrypoint.sh
@@ -155,9 +155,11 @@ if ! [ -z "${LB_PATH}" ]; then
155
-i /etc/apache2/sites-enabled/000-default.conf \
156
-e "s:/var/www/html:/var/www:"
157
158
- ## Rename the html directory as the URL prefix
159
- ln -s /var/www/html "/var/www/${LB_PATH}"
160
- chown www-data:www-data "/var/www/${LB_PATH}"
+ ## Create a link to the htnl directory
+ pushd /var/www
+ ln -s html "${LB_PATH}"
161
+ chown www-data:www-data "${LB_PATH}"
162
+ popd
163
164
## Adapt the .htaccess file
165
sed \
0 commit comments