summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--manifests/phpldapadmin.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/phpldapadmin.pp b/manifests/phpldapadmin.pp
index 50d47e8..8e2b5d5 100644
--- a/manifests/phpldapadmin.pp
+++ b/manifests/phpldapadmin.pp
@@ -11,9 +11,10 @@ class profiles::phpldapadmin (
include ::php_fpm
nginx::resource::server { $nginx_server:
- ipv6_enable => true,
- ipv6_listen_options => '',
- use_default_location => false,
+ ipv6_enable => true,
+ ipv6_listen_options => '',
+ www_root => '/usr/share/webapps/phpldapadmin',
+ index_files => ['index.php'],
}
class { 'phpldapadmin':
@@ -24,7 +25,6 @@ class profiles::phpldapadmin (
php_fpm::nginx { 'phpldapadmin':
server => $nginx_server,
conf => {
- www_root => '/usr/share/webapps/phpldapadmin',
location_allow => [
'127.0.0.1',
'::1',
@@ -34,6 +34,7 @@ class profiles::phpldapadmin (
location_deny => [
'all',
],
+ www_root => '/usr/share/webapps/phpldapadmin',
},
}