LDAPAccountManager/lam-packaging/debian/lam.nginx.conf

18 lines
349 B
Plaintext
Raw Normal View History

2014-07-27 17:48:59 +00:00
location /lam {
index index.html;
alias /usr/share/ldap-account-manager;
autoindex off;
location ~ \.php$ {
2017-09-08 19:10:11 +00:00
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
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;
}
}