13 lines
452 B
Plaintext
13 lines
452 B
Plaintext
include /etc/nginx/conf.d/include/init-optional-variables;
|
|
|
|
# TODO: this endpoint could be removed and calls be made directly to skyd
|
|
# since we're not using any nginx specific code here any more
|
|
location /skynet/blocklist {
|
|
include /etc/nginx/conf.d/include/sia-auth;
|
|
|
|
client_max_body_size 10m; # increase max body size to account for large lists
|
|
|
|
proxy_set_header User-Agent: Sia-Agent;
|
|
proxy_pass http://sia:9980/skynet/blocklist;
|
|
}
|