I have set up Gitlab using Omnibus. It has embedded nginx. It works fine on ports 80 and 443. On 8083 I also have installed VestaCP. VestaCP has Softaculous. Using Softaculous I have installed a PHP application under a subdomain. Unfortunately, when I am trying to access this subdomain I am being redirected to Gitlab (by Gitlab's nginx).
I have tried adding:
location /scheduler {
root /home/admin/web/mydomain.tld/public_html/scheduler/;
index index.php;
}
in /opt/gitlab/embedded/conf/nginx.conf and then running gitlab-ctl reconfigure
as well as gitlab-ctl restart
but it didn't work.
What do I have to do to view /home/admin/web/mydomain.tld/public_html/scheduler/index.php when I will try to access mydomain.tld/scheduler? Currently, *mydomain.tld/** is mapped by Gitlab.