]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
config for test-webstats01
authorsascha <sascha@knecht.pixelpark.com>
Thu, 12 Oct 2017 13:22:37 +0000 (15:22 +0200)
committersascha <sascha@knecht.pixelpark.com>
Thu, 12 Oct 2017 13:22:37 +0000 (15:22 +0200)
customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml

index ce9dba4c9c4e4d8cc4dca18cf20f4394cd854a17..1c0bcc5b6eae0cd4937ceb0c774a2837fa8a5ae8 100644 (file)
@@ -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: {}