Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 classes: | 1 classes: |
2 adblockplus::web::mimeo: | |
3 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_t ype" $http_request_body | |
4 response: All good, carry on! | |
5 port: 8000 | |
2 web::server: | 6 web::server: |
3 vhost: adblockbrowser.org | 7 vhost: adblockbrowser.org |
4 aliases: | 8 aliases: |
Fred
2017/08/04 15:20:36
I find it quite inconvenient that you have to spec
f.lopez
2017/08/04 16:01:10
I can but this means an extra step with an `exec`
| |
5 - www.adblockbrowser.org | 9 - www.adblockbrowser.org |
10 custom_config: | | |
11 location /submit-feedback { | |
12 proxy_pass http://127.0.0.1:8000; | |
13 } | |
6 is_default: true | 14 is_default: true |
7 custom_config: | | |
8 location = /submit-feedback/ { | |
9 access_log /var/log/nginx/adblockbrowser_feedback data; | |
10 echo_read_request_body; | |
11 } | |
Fred
2017/08/04 15:20:36
Why do you hardcode the port here if you provide a
f.lopez
2017/08/04 16:01:10
These are two different configurations in differen
| |
12 repository: web.adblockbrowser.org | 15 repository: web.adblockbrowser.org |
13 multiplexer_locations: | 16 multiplexer_locations: |
14 - /sendInstallationLink | 17 - /sendInstallationLink |
18 | |
19 logrotate::config: | |
20 mimeo_data: | |
21 content: | | |
22 /var/adblockplus/mimeo/data { | |
23 weekly | |
24 rotate 30 | |
25 compress | |
26 missingok | |
27 nodateext | |
28 } | |
29 ensure: 'present' | |
30 adblockbrowser_feedback_data: | |
31 content: | | |
32 /var/log/nginx/adblockbrowser_feedback { | |
33 daily | |
34 rotate 30 | |
35 compress | |
36 missingok | |
37 nodateext | |
38 sharedscripts | |
39 postrotate | |
40 [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid` | |
41 endscript | |
42 } | |
43 ensure: 'present' | |
44 | |
45 sitescripts::configfragments: | |
46 installation_link: | |
47 content: | | |
48 [DEFAULT] | |
49 mailer=/usr/sbin/sendmail | |
50 [multiplexer] | |
51 sitescripts.send_installation_link.web.send_installation_link = | |
52 [send_installation_link] | |
53 email_template=send_installation_link/template/adblockbrowser_installation _link.tmpl | |
54 | |
LEFT | RIGHT |