include /etc/nginx/conf.d/include/cors; set_by_lua_block $skyd_disk_cache_enabled { return os.getenv("SKYD_DISK_CACHE_ENABLED") == "true" and "1" or "0" } proxy_set_header User-Agent: Sia-Agent; proxy_pass http://sia:9980/skynet/skylink/$skylink$path$is_args$args;