Latest Debian install fails on clean 20.04 ubuntu install

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:
Community Server/Control Panel version:latest
Type of installation of Workspace (docker, deb/rpm, exe) deb
OS:ubuntu 20.04
Browser version:chrome

bash /tmp/install-Debian.sh -it GROUPS

FAILS… with-- The job identifier is 4876.
Aug 10 19:58:47 onlyoffice.forscotland.com nginx[50685]: nginx: [emerg] “location” directive is not allowed here in /etc/nginx/nginx.conf:1
Aug 10 19:58:47 onlyoffice.forscotland.com nginx[50685]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 10 19:58:47 onlyoffice.forscotland.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE

seems the TEMPLATES directory for nginx is messed up… it was updated on Aug 9th…

Hello @ivan
Sorry for the late reply.
Please point me to the guide which you used for Groups installation. Also clarify if you used totally clean Ubuntu server for installation process (I mean no other apps are installed).