2014-07-27 17:48:59 +00:00
|
|
|
location /lam {
|
|
|
|
index index.html;
|
|
|
|
alias /usr/share/ldap-account-manager;
|
|
|
|
autoindex off;
|
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
|
|
fastcgi_index index.php;
|
|
|
|
include fastcgi_params;
|
2017-08-27 07:37:28 +00:00
|
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
2014-07-27 17:48:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
location ~ /lam/(tmp/internal|sess|config|lib|help|locale) {
|
|
|
|
deny all;
|
|
|
|
return 403;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|