| 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 { |