From 1abd93d737f64b69711b7e33e19005d7bc54a802 Mon Sep 17 00:00:00 2001 From: Steve Rosiak Date: Tue, 10 May 2016 10:57:22 +0200 Subject: [PATCH] fbb-web - ila auf der Testumgebung eingrichtet --- customer/fbb-web/test.yaml | 239 +++++++++++++++++++++++++++++++++++++ 1 file changed, 239 insertions(+) diff --git a/customer/fbb-web/test.yaml b/customer/fbb-web/test.yaml index db4ddae0..cc1464cc 100644 --- a/customer/fbb-web/test.yaml +++ b/customer/fbb-web/test.yaml @@ -291,6 +291,82 @@ site::profile::nginx_php_fpm_server::vhosts: # - '%uri/' # - '/index.php?$args' autoindex: 'on' + tst-ila-berlin-airport-de: + ensure: present + www_root: '/srv/www/tst-ila-berlin-airport-de' + index_files: + - 'index.php' + - 'index.html' + - 'index.htm' + server_name: + - 'tst-ila-berlin-airport-de.pixelpark.net' + - 'tst01-ila-berlin-airport-de.pixelpark.net' + - 'tst02-ila-berlin-airport-de.pixelpark.net' + - 'tst-ila.berlin-airport.de' + - 'tst-ila01.berlin-airport.de' + - 'tst ila02.berlin-airport.de' + rewrite_rules: + - '^/wp-admin$ $scheme://$host$uri/index.php permanent' + - '/files/$ /index.php last' + - '^/wp-admin/$ $scheme://$host/wp-admin/index.php permanent' +# Wichtig damit auch die Uploadeinstellungen der php.ini greifen + client_max_body_size: '32M' + listen_port: 80 +# listen_ip: 93.188.107.30 +# location_allow: +# location_deny: + auth_basic: 'Server' + auth_basic_user_file: '/etc/nginx/.htpasswd' + access_log: '/var/log/nginx/tst-ila-access_log' + error_log: '/var/log/nginx/tst-ila-error_log' + format_log: 'combined' + owner: 'deploy.vogel' + group: 'nginx' + mode: '0640' +# vhost_cfg_prepend: + try_files: + - '$uri' + - '%uri/' + - '/index.php?$args' + autoindex: 'on' + tst-ila-berlin-airport-de_ssl: + ensure: present + www_root: '/srv/www/tst-ila-berlin-airport-de' + index_files: + - 'index.php' + - 'index.html' + - 'index.htm' + server_name: + - 'tst-ila-berlin-airport-de.pixelpark.net' + - 'tst01-ila-berlin-airport-de.pixelpark.net' + - 'tst02-ila-berlin-airport-de.pixelpark.net' + - 'tst-ila.berlin-airport.de' + - 'tst-ila01.berlin-airport.de' + - 'tst ila02.berlin-airport.de' + rewrite_rules: + - '^/wp-admin$ $scheme://$host$uri/ permanent' + - '/files/$ /index.php last' + - '^/wp-admin/$ $scheme://$host/wp-admin/index.php permanent' +# Wichtig damit auch die Uploadeinstellungen der php.ini greifen + client_max_body_size: '32M' + listen_port: 81 +# listen_ip: 93.188.107.30 +# location_allow: +# location_deny: + auth_basic: 'Server' + auth_basic_user_file: '/etc/nginx/.htpasswd' + access_log: '/var/log/nginx/tst-ila-access_log' + error_log: '/var/log/nginx/tst-ila-error_log' + format_log: 'combined' + owner: 'deploy.vogel' + group: 'nginx' + mode: '0640' +# vhost_cfg_prepend: + try_files: + - '$uri' + - '%uri/' + - '/index.php?$args' + autoindex: 'on' site::profile::nginx_php_fpm_server::location: 'favicon.ico_berhub': @@ -620,3 +696,166 @@ site::profile::nginx_php_fpm_server::location: fastcgi_pass: '127.0.0.1:9000' fastcgi_index: 'index.php' fastcgi_param: 'HTTPS on' + 'favicon.ico_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + location: '/favicon.ico' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + 'robots.txt_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + location: '/robots.txt' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + allow: 'all' + 'hidden-files_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + ensure: present + index_files: + - 'index.php' + location: '~ /\.' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + deny: 'all' + 'images_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + location: '~* "^.+\.(jpg|jpeg|gif|png|ico|)$"' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + expires: 'max' + 'files_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + location: '~* "^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$"' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + log_not_found: 'off' + expires: 'max' + 'all-files_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + location: '~ "\*$"' + ensure: present + index_files: + - 'index.php' + try_files: + - '$uri =404' + 'php-files_ila': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de + location: '~ "\.php$"' + ensure: present + index_files: + - 'index.php' + try_files: + - '$uri =404' + include: + - '/etc/nginx/fastcgi.conf' + fastcgi_param: + SCRIPT_FILENAME: '$document_root$fastcgi_script_name' + location_cfg_append: + fastcgi_read_timeout: '3600s' + fastcgi_buffer_size: '128k' + fastcgi_buffers: '4 128k' + fastcgi_pass: '127.0.0.1:9000' + fastcgi_index: 'index.php' + 'favicon.ico_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + location: '/favicon.ico' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + 'robots.txt_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + location: '/robots.txt' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + allow: 'all' + 'hidden-files_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + ensure: present + index_files: + - 'index.php' + location: '~ /\.' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + deny: 'all' + 'images_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + location: '~* "^.+\.(jpg|jpeg|gif|png|ico|)$"' + ensure: present + index_files: + - 'index.php' + try_files: + - '$uri' + - '%uri/' + - '/index.php' + 'files_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + location: '~* "^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$"' + ensure: present + index_files: + - 'index.php' + location_custom_cfg: + access_log: 'off' + log_not_found: 'off' + expires: 'max' + 'all-files_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + location: '~ "\*$"' + ensure: present + index_files: + - 'index.php' + try_files: + - '$uri =404' + 'php-files_ila_ssl': + www_root: '/srv/www/tst-ila-berlin-airport-de' + vhost: tst-ila-berlin-airport-de_ssl + location: '~ "\.php$"' + ensure: present + index_files: + - 'index.php' + try_files: + - '$uri =404' + include: + - '/etc/nginx/fastcgi.conf' + fastcgi_param: + SCRIPT_FILENAME: '$document_root$fastcgi_script_name' + location_cfg_append: + fastcgi_read_timeout: '3600s' + fastcgi_buffer_size: '128k' + fastcgi_buffers: '4 128k' + fastcgi_pass: '127.0.0.1:9000' + fastcgi_index: 'index.php' -- 2.39.5