# - infra::profile::mysql_server
# - infra::profile::monitoring::mysql
+infra::profile::nginx_php_fpm_server::vhosts:
+ test-webstats01:
+ www_root: '/srv/www/test-webstats01'
+ index_files:
+ - 'index.php'
+ - 'index.html'
+ server_name:
+ - 'test-webstats01.pixelpark.net'
+
+ rewrite_to_https: true
+ ssl: true
+ ssl_cert: '/etc/ssl/certs/wildcard.pixelpark.net-cert.pem'
+ ssl_key: '/etc/ssl/certs/wildcard.pixelpark.net-cert.pem'
+ client_max_body_size: '32M'
+ listen_port: 80
+# auth_basic: 'Server'
+# auth_basic_user_file: '/etc/nginx/.htpasswd'
+ access_log: '/var/log/nginx/test-webstats01-access_log'
+ error_log: '/var/log/nginx/test-webstats01-error_log'
+ format_log: 'combined'
+ owner: 'deploy.vogel'
+ group: 'nginx'
+ mode: '0640'
+ try_files:
+ - '$uri'
+ - '%uri/'
+ - '/index.php?$args'
+ autoindex: 'on'
+
infra::profile::nginx_php_fpm_server::location:
'piwik':
www_root: '/srv/www/test-webstats01'
location: '/'
location_deny:
- 'all'
-
php::extensions:
gd: {}
mysqlnd: {}