Index: hiera/roles/web/adblockbrowser.yaml |
=================================================================== |
--- a/hiera/roles/web/adblockbrowser.yaml |
+++ b/hiera/roles/web/adblockbrowser.yaml |
@@ -1,19 +1,32 @@ |
classes: |
+ adblockplus::web::mimeo: |
+ format: $remote_addr - - [$time_local] "$request" $status $bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" $http_scheme "$http_accept_language" "$http_host" "$http_x_client_id" $http_content_length "$http_content_type" $http_request_body |
+ response: All good, carry on! |
+ port: 8000 |
web::server: |
vhost: adblockbrowser.org |
aliases: |
- www.adblockbrowser.org |
- is_default: true |
custom_config: | |
- location = /submit-feedback/ { |
- access_log /var/log/nginx/adblockbrowser_feedback data; |
- echo_read_request_body; |
+ location /submit-feedback { |
+ proxy_pass http://127.0.0.1:8000; |
} |
+ is_default: true |
repository: web.adblockbrowser.org |
multiplexer_locations: |
- /sendInstallationLink |
logrotate::config: |
+ mimeo_data: |
+ content: | |
+ /var/adblockplus/mimeo/data { |
+ weekly |
+ rotate 30 |
+ compress |
+ missingok |
+ nodateext |
+ } |
+ ensure: 'present' |
adblockbrowser_feedback_data: |
content: | |
/var/log/nginx/adblockbrowser_feedback { |