File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ nginx_snippets_dir:
14
14
{% for snippet, config in nginx.snippets.items() % }
15
15
nginx_snippet_{{ snippet }}:
16
16
file .managed:
17
- - name: {{ nginx.lookup.snippets_dir ~ ' /' ~ snippet ~ ' .conf ' }}
17
+ - name: {{ nginx.lookup.snippets_dir ~ ' /' ~ snippet }}
18
18
- source: {{ files_switch([ snippet, ' server.conf' ],
19
19
' nginx_snippet_file_managed'
20
20
)
Original file line number Diff line number Diff line change @@ -63,15 +63,15 @@ nginx:
63
63
## Files or Templates can be retrieved by TOFS with snippet name ( Fallback to server.conf )
64
64
##--- --- - - - - - - -- - - -- -- - - --- -- - -- - - - -- - - - - -- - - - -- - - - -- - ##
65
65
snippets:
66
- letsencrypt:
66
+ letsencrypt.conf :
67
67
- location ^~ /.well-known/acme-challenge/:
68
68
- proxy_pass: http://localhost:9999
69
- cloudflare_proxy:
69
+ cloudflare_proxy.conf :
70
70
- set_real_ip_from: 103.21.244.0/22
71
71
- set_real_ip_from: 103.22.200.0/22
72
72
- set_real_ip_from: 104.16.0.0/12
73
73
- set_real_ip_from: 108.162.192.0/18
74
- blacklist:
74
+ blacklist.conf :
75
75
- map $http_user_agent $bad_bot:
76
76
- default: 0
77
77
- '~*^Lynx': 0
81
81
- '~*bandit': 1
82
82
- libwww-perl: 1
83
83
- '~(?i)(httrack|htmlparser|libwww)': 1
84
- upstream_netdata_tcp:
84
+ upstream_netdata_tcp.conf :
85
85
- upstream netdata:
86
86
- server: 127.0.0.1:19999
87
87
- keepalive: 64
Original file line number Diff line number Diff line change 6
6
7
7
nginx:
8
8
snippets:
9
- letsencrypt:
9
+ letsencrypt.conf :
10
10
- location ^~ /.well-known/acme-challenge/:
11
11
- proxy_pass: http://localhost:9999
12
12
server:
You can’t perform that action at this time.
0 commit comments