nginx check config in debug output

This commit is contained in:
rootzoll 2020-07-12 23:00:20 +02:00
parent 0ddd30dcfe
commit 58d243df8b

View file

@ -74,6 +74,8 @@ echo ""
echo "*** LAST NGINX LOGS ***"
echo "sudo journalctl -u nginx -b --no-pager -n20"
sudo journalctl -u nginx -b --no-pager -n20
echo "--> CHECK CONFIG: sudo nginx -t"
sudo nginx -t
echo ""
if [ "${touchscreen}" = "1" ]; then