Add directory and index.html file for app2.example.com as well in web UI tests

This commit is contained in:
Théophile Diot 2024-01-26 16:58:25 +01:00
parent 14769ad55c
commit 78af21a36a
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -64,8 +64,8 @@ if [ "$integration" = "docker" ] ; then
else
sudo systemctl stop bunkerweb bunkerweb-ui
sudo sed -i "/--bind \"127.0.0.1:7000\" &/c\ --bind \"127.0.0.1:7000\" --log-level debug &" /usr/share/bunkerweb/scripts/bunkerweb-ui.sh
sudo mkdir /var/www/html/app1.example.com
sudo touch /var/www/html/app1.example.com/index.html
sudo mkdir /var/www/html/app1.example.com /var/www/html/app2.example.com
sudo touch /var/www/html/app1.example.com/index.html /var/www/html/app2.example.com/index.html
sudo find /etc/bunkerweb/configs/ -type f -exec rm -f {} \;
sudo cp ready.conf /etc/bunkerweb/configs/server-http
export TEST_TYPE="linux"