Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:tecdoc:abusenotif [2021/03/17 16:13] jomat created |
en:tecdoc:abusenotif [2021/03/17 16:18] jomat |
||
---|---|---|---|
Line 36: | Line 36: | ||
curl -X PUT " | curl -X PUT " | ||
+ | </ | ||
+ | |||
+ | ====== Content Reports ====== | ||
+ | <code - nginx.conf> | ||
+ | location ~ / | ||
+ | client_max_body_size 100M; | ||
+ | client_body_buffer_size 100M; | ||
+ | |||
+ | proxy_pass http:// | ||
+ | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
+ | proxy_set_header Host $host; | ||
+ | proxy_set_header X-Real-IP $remote_addr; | ||
+ | proxy_set_header X-Forwarded-Proto $scheme; | ||
+ | proxy_set_header X-Forwarded-Ssl on; | ||
+ | proxy_set_header X-SSL 1; | ||
+ | rewrite_by_lua ' | ||
+ | if ngx.var.request_method == " | ||
+ | os.execute("/ | ||
+ | end | ||
+ | '; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | <code - / | ||
+ | #!/bin/sh | ||
+ | |||
+ | AT=' | ||
+ | ROOM=' | ||
+ | |||
+ | echo date $* >> / | ||
+ | |||
+ | |||
+ | # | ||
+ | # abuse@matrix.org: | ||
+ | |||
+ | curl -X PUT " | ||
</ | </ |