File tree 2 files changed +11
-0
lines changed
integration/default/controls
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 22
22
it { should be_owned_by 'root' }
23
23
it { should be_grouped_into 'root' }
24
24
its ( 'mode' ) { should cmp '0644' }
25
+ its ( 'content' ) { should include %Q[ log_format main '$remote_addr - $remote_user [$time_local] $status '
26
+ '"$request" $body_bytes_sent "$http_referer" '
27
+ '"$http_user_agent" "$http_x_forwarded_for"';] }
25
28
end
26
29
27
30
# snippets configuration
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ nginx:
10
10
letsencrypt:
11
11
- location ^~ /.well-known/acme-challenge/:
12
12
- proxy_pass: http://localhost:9999
13
+ server:
14
+ config:
15
+ http:
16
+ # ## module ngx_http_log_module example
17
+ log_format: |-
18
+ main '$remote_addr - $remote_user [$time_local] $status '
19
+ '"$request" $body_bytes_sent "$http_referer" '
20
+ '"$http_user_agent" "$http_x_forwarded_for"'
13
21
servers:
14
22
managed:
15
23
default:
You can’t perform that action at this time.
0 commit comments