Forbidden location when using alias in nginx for relative urls

前端 未结 2 1560
再見小時候
再見小時候 2021-01-02 08:32

I am trying to set up roundcube / phpldapadmin / ... with nginx on relative urls, e.g.:

example.com/roundcube
example.com/phpldapadmin

Firs

2条回答
  •  天命终不由人
    2021-01-02 08:54

    Alternatively you can try to write at the top of nginx.conf >> user 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

提交回复
热议问题