Fix errors linux tests permission issues

This commit is contained in:
Théophile Diot 2023-09-22 09:17:31 +01:00
parent df12058824
commit fdb9a7c294
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -29,7 +29,7 @@ else
echo "ERRORS=" | sudo tee -a /etc/bunkerweb/variables.env
echo "INTERCEPTED_ERROR_CODES=400 401 403 404 405 413 429 500 501 502 503 504" | sudo tee -a /etc/bunkerweb/variables.env
sudo touch /var/www/html/index.html
mkdir -p /var/www/html/errors
sudo mkdir -p /var/www/html/errors
sudo cp "403.html" "/var/www/html/errors/403.html"
fi