This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker/nginx/conf.d/server/server.local

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;
}