Skip to content
15位专家联名推荐,《AI 原生应用架构白皮书》免费下载Know more

Loading Wasm Plugins with HTTP/HTTPS Protocol

File Requirements

For convenience, it is recommended that the target URL points directly to the Wasm file.

HTTP Protocol

Simply configure the URL directly. However, ensure that the target URL is accessible from within the Gateway container. You can verify this by using the curl command inside the container.

http

HTTPS Protocol

The configuration approach is similar to the HTTP protocol. However, if the server uses an untrusted certificate (such as a self-signed certificate), you need to add an environment variable named “WASM_INSECURE_REGISTRIES” to the Gateway container. Set the value to ”*” to trust all HTTPS certificates returned by servers.