Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: hiera/roles/web/adblockbrowser.yaml

Issue 29525555: #622 - Use mimeo module on abb website (Closed)
Patch Set: Created Aug. 23, 2017, 4:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hiera/roles/web/adblockbrowser.yaml
===================================================================
--- a/hiera/roles/web/adblockbrowser.yaml
+++ b/hiera/roles/web/adblockbrowser.yaml
@@ -1,19 +1,40 @@
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;
+ proxy_set_header User-Agent $http_user_agent;
+ proxy_set_header Referer $http_referer;
+ proxy_set_header X-Forwarded-For $http_x_forwarded_for;
+ proxy_set_header Scheme $scheme;
mathias 2017/08/23 16:54:42 That's neither necessary nor a valid header.
f.lopez 2017/08/24 18:16:59 Done.
+ proxy_set_header Accept-Language $http_accept_language;
+ proxy_set_header Host $http_host;
+ proxy_set_header X-Client-Id $http_x_client_id;
+ proxy_set_header Request-Body $request_body;
mathias 2017/08/23 16:54:42 That's neither thought through nor a valid header.
f.lopez 2017/08/24 18:16:59 Done.
}
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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld