ERPNext 4 Installation Problem

Hi,

some more questions to finish the setup on DO,
and to be able to publish the instructions.

1. Multi-tenant-setup ngnix issue

I named my two sites site1.local and site2.local.

su frappe
cd ~/frappe-bench
bench set-default-site site1.local
bench config dns_multitenant on
bench new-site site2.local
bench set-nginx-port site1.local 80
bench set-nginx-port site2.local 82
bench setup nginx

This all worked fine but …

sudo nginx reload

… gives me this error …

Sorry, user frappe is not allowed to execute '/usr/sbin/nginx reload' as root on ...

2. DNS setup question

Since I named my sites site1.local and site2.local and I don’t know how to rename the apps )if possible at all), I would like to point two different subdomains to the ports 80 and 82 via ngnix. Is there an easy “bench” way to achieve this?

Thanks,

PS