I am trying to set up roundcube / phpldapadmin / ... with nginx on relative urls, e.g.:
example.com/roundcube example.com/phpldapadmin
Firs
Alternatively you can try to write at the top of nginx.conf >> user username
nginx.conf
username
Since I am using AWS Linux EC2 instance I wrote
user ec2-user;
instead of
user nginx;
This solves the problem by giving all the required permissions