Forbidden location when using alias in nginx for relative urls -
i trying set roundcube / phpldapadmin / ... nginx on relative urls, e.g.: example.com/roundcube example.com/phpldapadmin first of all, working fine apache 2.4. have following folders: # roundcube /var/www/roundcube # phpldapadmin /usr/share/phpldapadmin i have following location roundcube : location /roundcube/ { root /var/www; index index.php; location ~ \.php$ { try_files $uri =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param script_filename $document_root$fastcgi_script_name; } } which works fine, following phpldapadmin not work: location /phpldapadmin/ { alias /usr/share/phpldapadmin/htdocs; index index.php index.html index.htm; location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include /etc/nginx/fastcgi_params; fastcgi_para...