From: sascha Date: Thu, 12 Oct 2017 13:22:37 +0000 (+0200) Subject: config for test-webstats01 X-Git-Tag: v0.1.0~2342^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ab7621a94c09ea14d89c690617b0de9147bebf8a;p=pixelpark%2Fhiera.git config for test-webstats01 --- diff --git a/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml b/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml index ce9dba4c..1c0bcc5b 100644 --- a/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml +++ b/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml @@ -5,6 +5,35 @@ infra::additional_classes: # - 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' @@ -12,7 +41,6 @@ infra::profile::nginx_php_fpm_server::location: location: '/' location_deny: - 'all' - php::extensions: gd: {} mysqlnd: {}